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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-counterclockwise-polygon.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 <script src="../resources/simple-polygon.js"></script>
5 <script>
6 if (window.internals)
7 window.internals.settings.setCSSExclusionsEnabled(true);
8
9 // Rectilinear polygon with this shape (same as shape-inside-rectilinear-pol ygon-002.html).
10 // The vertices are specified in counter-clockwise order.
11 // XXX
12 // XXXXXXX
13 // XXXXXXX
14 // XXX
15
16 var vertices = [{x:0, y:150}, {x:100, y:150}, {x:100, y:200}, {x:250, y:200} , {x:250, y:150}, {x:350, y:150}, {x:350, y:50}, {x:250, y:50}, {x:250, y:0}, {x :100, y:0}, {x:100, y:50}, {x:0, y:50}];
17 var lineHeight = 50;
18 </script>
19
20 <style id="stylesheet">
21 #polygon-shape-inside, #polygon-svg-shape {
22 position: absolute;
23 left: 0px;
24 top: 0px;
25 }
26 </style>
27 </head>
28
29 <body id="body" onload="createPolygonShapeInsideTestCase(vertices)">
30 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg>
31 <div id="polygon-shape-inside"></div>
32 <p id="informative-text">
33 This test requires the Ahem font. It creates a polygonal shape-inside an d a matching
34 filled SVG polygon. The content should just fill the shape, with alterna ting black and
35 empty rectangles on each line.</p>
36 </body>
37
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698