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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-empty-expected.html

Issue 115253003: Layout support for new circle shape syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use FloatSize/FloatPoint's more 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: 40px; 7 height: 40px;
8 line-height: 20px; 8 line-height: 20px;
9 margin-top: 50px; 9 margin-top: 50px;
10 border: solid green; 10 border: solid green;
11 box-sizing: border-box; 11 box-sizing: border-box;
12 } 12 }
13 #rectangles p { margin-top: 34px; } 13 #rectangles p { margin-top: 34px; }
14 </style> 14 </style>
15 </head> 15 </head>
16 <body> 16 <body>
17 <div id="rectangles"> 17 <div id="rectangles">
18 <div style="margin-top: 0px;"> 18 <div style="margin-top: 0px;">
19 <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 <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>
20 </div> 20 </div>
21 <div> 21 <div>
22 <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 <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>
23 </div> 23 </div>
24 <div> 24 <div>
25 <p>This text should be pushed down below the green rectangle. (There is a circle(0px, 0px, 0px) shape-inside CSS property on the green rectangle.)</p> 25 <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>
26 </div> 26 </div>
27 <div> 27 <div>
28 <p>This text should be pushed down below the green rectangle. (There is an ellipseX0(0px, 0px, 0px, 1em) shape-inside CSS property on the green rectangl e.)</p> 28 <p>This text should be pushed down below the green rectangle. (There is an ellipseX0(0px, 0px, 0px, 1em) shape-inside CSS property on the green rectangl e.)</p>
29 </div> 29 </div>
30 <div> 30 <div>
31 <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> 31 <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>
32 </div> 32 </div>
33 <div> 33 <div>
34 <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 <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>
35 </div> 35 </div>
36 <div> 36 <div>
37 <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 <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 >
38 </div> 38 </div>
39 </div> 39 </div>
40 40
41 <p style="margin-top: 50px;"> 41 <p style="margin-top: 50px;">
42 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 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.
43 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 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/>
44 Every text on this page should be pushed down below its green rectangle. 44 Every text on this page should be pushed down below its green rectangle.
45 </p> 45 </p>
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698