OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | |
5 if (window.internals) | |
6 window.internals.settings.setCSSExclusionsEnabled(true); | |
7 </script> | |
8 | 4 |
9 <!-- | 5 <!-- |
10 Test test creates a rectilinear polygon with this shape: | 6 Test test creates a rectilinear polygon with this shape: |
11 XXXXXXXX | 7 XXXXXXXX |
12 XXXX | 8 XXXX |
13 XXXXXXXX | 9 XXXXXXXX |
14 --> | 10 --> |
15 | 11 |
16 <style id="stylesheet"> | 12 <style id="stylesheet"> |
17 #shape-inside, #shape-outline { | 13 #shape-inside, #shape-outline { |
(...skipping 26 matching lines...) Expand all Loading... |
44 </head> | 40 </head> |
45 <body> | 41 <body> |
46 <div id="shape-inside">XXXXXXXX<br/> XXXX<br/>XXXXXXXX</div> | 42 <div id="shape-inside">XXXXXXXX<br/> XXXX<br/>XXXXXXXX</div> |
47 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> | 43 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> |
48 <polygon points="0,0 400,0 400,50 300,50 300,100 400,100 400,150 0,150 0,1
00 100,100 100,50 0,50"/> | 44 <polygon points="0,0 400,0 400,50 300,50 300,100 400,100 400,150 0,150 0,1
00 100,100 100,50 0,50"/> |
49 </svg> | 45 </svg> |
50 <p id="informative-text"> | 46 <p id="informative-text"> |
51 This test requires the Ahem font. It creates a rectilinear polygonal shape
-inside and a | 47 This test requires the Ahem font. It creates a rectilinear polygonal shape
-inside and a |
52 matching stroked SVG polygon. The content should just fill the shape with
solid green.</p> | 48 matching stroked SVG polygon. The content should just fill the shape with
solid green.</p> |
53 </html> | 49 </html> |
OLD | NEW |