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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-simple-polygon-001-expected.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Zoltan's comments 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/subpixel-utils.js"></script>
5 <script src="../resources/simple-polygon.js"></script>
6 <script>
7 // Concave assymetric simple polygon with horizontal top and bottom edges. Roughly an hourglass shape.
8 var vertices = [{x:40, y:40}, {x:440, y:40}, {x:320, y:160}, {x:480, y:320}, {x:80, y:320}, {x:200, y:200}];
9 var lineHeight = 40;
10
11 function init() {
12 createPolygonShapeInsideTestCaseExpected();
13 }
14 </script>
15
16 <style id="stylesheet">
17 #polygon-shape-inside, #polygon-svg-shape {
18 position: absolute;
19 left: 0px;
20 top: 0px;
21 }
22 </style>
23 </head>
24
25 <body onload="init()">
26 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg>
27 <div id="polygon-shape-inside"></div>
28 <p id="informative-text">
29 This test requires the Ahem font. It creates a polygonal shape-inside and a matching
30 filled SVG polygon. The content should just fill the shape with alternatin g black and
31 empty rectangles on each line.</p>
32 </body>
33
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698