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 <style> | 4 <style> |
9 #shape-inside-coincident-vertices { | 5 #shape-inside-coincident-vertices { |
10 font: 50px/1 Ahem, sans-serif; | 6 font: 50px/1 Ahem, sans-serif; |
11 color: green; | 7 color: green; |
12 width: 250px; | 8 width: 250px; |
13 height: 250px; | 9 height: 250px; |
14 -webkit-shape-inside: polygon(50px 50px, 50px 50px, 250px 50px, 250px 5
0px, 250px 250px, 50px 250px, 50px 50px, 50px 50px); | 10 -webkit-shape-inside: polygon(50px 50px, 50px 50px, 250px 50px, 250px 5
0px, 250px 250px, 50px 250px, 50px 50px, 50px 50px); |
15 } | 11 } |
16 #shape-inside { | 12 #shape-inside { |
17 font: 50px/1 Ahem, sans-serif; | 13 font: 50px/1 Ahem, sans-serif; |
18 color: green; | 14 color: green; |
19 width: 250px; | 15 width: 250px; |
20 height: 250px; | 16 height: 250px; |
21 -webkit-shape-inside: polygon(50px 50px, 250px 50px, 250px 250px, 50px 2
50px); | 17 -webkit-shape-inside: polygon(50px 50px, 250px 50px, 250px 250px, 50px 2
50px); |
22 } | 18 } |
23 </style> | 19 </style> |
24 </head> | 20 </head> |
25 <body> | 21 <body> |
26 Requires Ahem font. Verifies that polygonal shapes with multiple coincident
vertices produce | 22 Requires Ahem font. Verifies that polygonal shapes with multiple coincident
vertices produce |
27 the same output as they would with only the unique vertices. This test shou
ld display two | 23 the same output as they would with only the unique vertices. This test shou
ld display two |
28 indentical solid green squares. | 24 indentical solid green squares. |
29 <div id="shape-inside-coincident-vertices">XXXX XXXX XXXX XXXX</div> | 25 <div id="shape-inside-coincident-vertices">XXXX XXXX XXXX XXXX</div> |
30 <div id="shape-inside">XXXX XXXX XXXX XXXX</div> | 26 <div id="shape-inside">XXXX XXXX XXXX XXXX</div> |
31 </body> | 27 </body> |
32 </html> | 28 </html> |
OLD | NEW |