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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html

Issue 124303002: Layout support for new ellipse shape syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 11 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>CSS Test: circle shape-outside on floats</title> 2 <title>CSS Test: circle shape-outside on floats</title>
3 <link rel="author" title="Adobe" href="http://html.adobe.com/"> 3 <link rel="author" title="Adobe" href="http://html.adobe.com/">
4 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com"> 4 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com">
5 <link rel="help" href="http://dev.w3.org/csswg/css-shapes-1/#shape-outside-prope rty"> 5 <link rel="help" href="http://dev.w3.org/csswg/css-shapes-1/#shape-outside-prope rty">
6 <link rel="match" href="shape-outside-floats-ellipse-000-ref.html"> 6 <link rel="match" href="shape-outside-floats-ellipse-000-ref.html">
7 <meta name="flags" content="ahem"> 7 <meta name="flags" content="ahem">
8 <style> 8 <style>
9 .container { 9 .container {
10 font: 20px/1 Ahem, sans-serif; 10 font: 20px/1 Ahem, sans-serif;
11 width: 500px; 11 width: 500px;
12 height: 200px; 12 height: 200px;
13 border: 1px solid black; 13 border: 1px solid black;
14 } 14 }
15 15
16 .ellipse { 16 .ellipse {
17 width: 320px; 17 width: 320px;
18 height: 160px; 18 height: 160px;
19 background-color: blue; 19 background-color: blue;
20 overflow: hidden; 20 overflow: hidden;
21 border-radius: 160px / 80px; 21 border-radius: 160px / 80px;
22 shape-outside: ellipse(160px, 80px, 160px, 80px); /* cx,cy,rx,ry */ 22 shape-outside: ellipse(160px 80px at 160px 80px);
23 } 23 }
24 </style> 24 </style>
25 25
26 <body> 26 <body>
27 <p>The black squares should trace the right side of the ellipse's blue outline.< /p> 27 <p>The black squares should trace the right side of the ellipse's blue outline.< /p>
28 <div class="container"> 28 <div class="container">
29 X<br/> 29 X<br/>
30 <div style="float: left" class="ellipse"></div> 30 <div style="float: left" class="ellipse"></div>
31 X<br/> 31 X<br/>
32 X<br/> 32 X<br/>
(...skipping 14 matching lines...) Expand all
47 X<br/> 47 X<br/>
48 X<br/> 48 X<br/>
49 X<br/> 49 X<br/>
50 X<br/> 50 X<br/>
51 X<br/> 51 X<br/>
52 X<br/> 52 X<br/>
53 X<br/> 53 X<br/>
54 X 54 X
55 </div> 55 </div>
56 </body> 56 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698