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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-complex-polygon-003.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, 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 <html>
3 <head>
4 <style>
5 /* This rectilinear polygon contains a self-intersecting loop (the vertices are
6 numbered in the figure:
7
8 0----2---1,5---6
9 | | | |
10 | 3----4 |
11 8--------------7
12
13 Vertical edges 8-0 and 2-3 as well as 4-5 and 5-7 wind in opposite direc tions.
14 As a result both nonzero and evenodd fills produce the same U shaped res ult.
15 */
16 #polygon-shape-inside {
17 width: 200px;
18 height: 150px;
19 font: 50px/1 Ahem, sans-serif;
20 color: green;
21 shape-inside: polygon(evenodd, 50px 50px, 150px 50px, 100px 50px, 100px 100px, 150px 100px, 150px 50px, 200px 50px, 200px 150px, 50px 150px);
22 }
23
24 #informative-text {
25 position: absolute;
26 top: 150px;
27 left: 50px;
28 }
29 </style>
30 </head>
31 <body style="position:relative">
32 <div id="polygon-shape-inside">X X XXX</div>
33 <p id="informative-text">
34 This test requires the Ahem font. It creates a self-intersecting rectiline ar polygonal
35 shape-inside with the evenodd fillRule. The content should just fill the
36 U shape with solid green rectangles.</p>
37 </body>
38 </html>
39
40
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698