Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>shape-outside-floats-rounded-rectangle-002.html</title>
3 <link rel="author" title="Adobe" href="http://html.adobe.com/">
4 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com">
5 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property ">
6 <link rel="match" href="shape-outside-floats-rounded-rectangle-002-ref.html">
7 <meta name="flags" content="ahem">
8 <style>
9 .container {
10 font: 20px/1 Ahem, sans-serif;
11 width: 500px;
12 height: 200px;
13 border: 1px solid black;
14 }
15
16 .rounded-rect-circle {
17 width: 160px;
18 height: 160px;
19 background-color: blue;
20 overflow: hidden;
21 border-radius: 80px;
22 shape-outside: rectangle(0px, 0px, 160px, 160px, 80px, 80px); /* x,y,width,h eight,rx,ry */
23 }
24 </style>
25
26 <body>
27 <p>The black squares should trace the right side of the circle's blue outline.</ p>
28 <div class="container">
29 X<br/>
30 <div style="float: left" class="rounded-rect-circle"></div>
31 X<br/>
32 X<br/>
33 X<br/>
34 X<br/>
35 X<br/>
36 X<br/>
37 X<br/>
38 X<br/>
39 X
40 </div>
41
42 <p>The black squares should trace the left side of the circle's blue outline.</p >
43 <div class="container" style="text-align: right">
44 X<br/>
45 <div style="float: right" class="rounded-rect-circle"></div>
46 X<br/>
47 X<br/>
48 X<br/>
49 X<br/>
50 X<br/>
51 X<br/>
52 X<br/>
53 X<br/>
54 X
55 </div>
56 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698