OLD | NEW |
| (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 var vertices = createRegularPolygonVertices(400, 16); // 400x400 16 sided re
gular polygon | |
8 var lineHeight = 40; | |
9 | |
10 function init() { | |
11 createPolygonShapeInsideTestCaseExpected(); | |
12 } | |
13 </script> | |
14 | |
15 <style id="stylesheet"> | |
16 #polygon-shape-inside, #polygon-svg-shape { | |
17 position: absolute; | |
18 left: 0px; | |
19 top: 0px; | |
20 } | |
21 </style> | |
22 </head> | |
23 | |
24 <body onload="init()"> | |
25 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg> | |
26 <div id="polygon-shape-inside"></div> | |
27 <p id="informative-text"> | |
28 This test requires the Ahem font. It creates a polygonal shape-inside and
a matching | |
29 filled SVG polygon. The content should just fill the shape with alternatin
g black and | |
30 empty rectangles on each line.</p> | |
31 </body> | |
32 | |
33 </html> | |
OLD | NEW |