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

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

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 8 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 <html>
3 <head>
4 <style>
5 #rectangles div {
6 width: 800px;
7 height: 0;
8 line-height: 20px;
9 margin-top: 50px;
10 border-top: 40px solid green;
11 }
12 #rectangles p { margin-top: 0; }
13 </style>
14 </head>
15 <body>
16 <div id="rectangles">
17 <div style="margin-top: 0px;">
18 <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>
19 </div>
20 <div>
21 <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>
22 </div>
23 <div>
24 <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>
25 </div>
26 <div>
27 <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>
28 </div>
29 <div>
30 <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 >
31 </div>
32 </div>
33
34 <p style="margin-top: 50px;">
35 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.
36 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/>
37 Every text on this page should be pushed down below its green rectangle.
38 </p>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698