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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-empty-expected.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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #rectangles div { 5 #rectangles div {
6 width: 800px; 6 width: 800px;
7 height: 0; 7 height: 0;
8 line-height: 20px; 8 line-height: 20px;
9 margin-top: 50px; 9 margin-top: 50px;
10 border-top: 40px solid green; 10 border-top: 40px solid green;
11 } 11 }
12 #rectangles p { margin-top: 0; } 12 #rectangles p { margin-top: 0; }
13 </style> 13 </style>
14 </head> 14 </head>
15 <body> 15 <body>
16 <div id="rectangles"> 16 <div id="rectangles">
17 <div style="margin-top: 0px;"> 17 <div style="margin-top: 0px;">
18 <p>This text should be pushed down below the green rectangle. (There is a rectangle(0px, 0px, 0px, 1em) shape-inside CSS property on the green rectangle .)</p> 18 <p>This text should be pushed down below the green rectangle. (There is a rectangle(0px, 0px, 0px, 1em) shape-inside CSS property on the green rectangle .)</p>
19 </div> 19 </div>
20 <div> 20 <div>
21 <p>This text should be pushed down below the green rectangle. (There is a rectangle(0px, 0px, 1em, 0px) shape-inside CSS property on the green rectangle .)</p> 21 <p>This text should be pushed down below the green rectangle. (There is a rectangle(0px, 0px, 1em, 0px) shape-inside CSS property on the green rectangle .)</p>
22 </div> 22 </div>
23 <div> 23 <div>
24 <p>This text should be pushed down below the green rectangle. (There is a circle(0px at 0px 0px) shape-inside CSS property on the green rectangle.)</p> 24 <p>This text should be pushed down below the green rectangle. (There is a circle(0px at 0px 0px) shape-inside CSS property on the green rectangle.)</p>
25 </div> 25 </div>
26 <div> 26 <div>
27 <p>This text should be pushed down below the green rectangle. (There is an ellipse(0px, 0px, 0px, 1em) shape-inside CSS property on the green rectangle. )</p> 27 <p>This text should be pushed down below the green rectangle. (There is an ellipse(0px 1em at 0px 0px) shape-inside CSS property on the green rectangle. )</p>
28 </div> 28 </div>
29 <div> 29 <div>
30 <p>This text should be pushed down below the green rectangle. (There is an ellipse(0px, 0px, 1em, 0px) shape-inside CSS property on the green rectangle. )</p> 30 <p>This text should be pushed down below the green rectangle. (There is an ellipse(1em 0px at 0px 0px) shape-inside CSS property on the green rectangle. )</p>
31 </div> 31 </div>
32 <div> 32 <div>
33 <p>This text should be pushed down below the green rectangle. (There is a polygon(0px 0px) shape-inside CSS property on the green rectangle.)</p> 33 <p>This text should be pushed down below the green rectangle. (There is a polygon(0px 0px) shape-inside CSS property on the green rectangle.)</p>
34 </div> 34 </div>
35 <div> 35 <div>
36 <p>This text should be pushed down below the green rectangle. (There is a polygon(0px 0px, 1em 0px) shape-inside CSS property on the green rectangle.)</p > 36 <p>This text should be pushed down below the green rectangle. (There is a polygon(0px 0px, 1em 0px) shape-inside CSS property on the green rectangle.)</p >
37 </div> 37 </div>
38 </div> 38 </div>
39 39
40 <p style="margin-top: 50px;"> 40 <p style="margin-top: 50px;">
41 A dimension of every shape-inside on this page is defined to 0. Based on the CSS Exclusions specification: The 'shape-inside' property adds one or more excl usion areas to the element's wrapping context. 41 A dimension of every shape-inside on this page is defined to 0. Based on the CSS Exclusions specification: The 'shape-inside' property adds one or more excl usion areas to the element's wrapping context.
42 This modifies the normal rectangular shape of the content area to a possibly non-rectangular wrapping area. The exclusion areas are defined by subtracting t he shape from the element's content area.<br/> 42 This modifies the normal rectangular shape of the content area to a possibly non-rectangular wrapping area. The exclusion areas are defined by subtracting t he shape from the element's content area.<br/>
43 Every text on this page should be pushed down below its green rectangle. 43 Every text on this page should be pushed down below its green rectangle.
44 </p> 44 </p>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698