| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../resources/subpixel-utils.js"></script> |
| 4 <script src="../resources/simple-polygon.js"></script> | 5 <script src="../resources/simple-polygon.js"></script> |
| 5 <script> | 6 <script> |
| 6 if (window.internals) | 7 if (window.internals) |
| 7 window.internals.settings.setCSSExclusionsEnabled(true); | 8 window.internals.settings.setCSSExclusionsEnabled(true); |
| 8 | 9 |
| 9 var vertices = createRegularPolygonVertices(400, 8); // 400x400 8 sided regu
lar polygon | 10 var vertices = createRegularPolygonVertices(400, 8); // 400x400 8 sided regu
lar polygon |
| 10 var lineHeight = 40; | 11 var lineHeight = 40; |
| 11 | 12 |
| 12 function init() { | 13 function init() { |
| 13 createPolygonShapeInsideTestCaseExpected(); | 14 createPolygonShapeInsideTestCaseExpected(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 26 <body onload="init()"> | 27 <body onload="init()"> |
| 27 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg> | 28 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg> |
| 28 <div id="polygon-shape-inside"></div> | 29 <div id="polygon-shape-inside"></div> |
| 29 <p id="informative-text"> | 30 <p id="informative-text"> |
| 30 This test requires the Ahem font. It creates a polygonal shape-inside and
a matching | 31 This test requires the Ahem font. It creates a polygonal shape-inside and
a matching |
| 31 filled SVG polygon. The content should just fill the shape with alternatin
g black and | 32 filled SVG polygon. The content should just fill the shape with alternatin
g black and |
| 32 empty rectangles on each line.</p> | 33 empty rectangles on each line.</p> |
| 33 </body> | 34 </body> |
| 34 | 35 |
| 35 </html> | 36 </html> |
| OLD | NEW |