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

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

Powered by Google App Engine
This is Rietveld 408576698