OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #shape-inside-collinear-vertices { | |
6 font: 50px/1 Ahem, sans-serif; | |
7 color: green; | |
8 width: 250px; | |
9 height: 250px; | |
10 shape-inside: polygon(200px 100px, 150px 150px, 100px 200px, 50px 250px,
50px 50px, 60px 50px, 61px 50px, 250px 50px); | |
11 } | |
12 #shape-inside { | |
13 font: 50px/1 Ahem, sans-serif; | |
14 color: green; | |
15 width: 250px; | |
16 height: 250px; | |
17 shape-inside: polygon(50px 50px, 250px 50px, 250px 50px, 50px 250px); | |
18 } | |
19 </style> | |
20 </head> | |
21 <body> | |
22 Requires Ahem font. Verifies that polygonal shapes with multiple coincident
vertices produce | |
23 the same output as they would with only the unique vertices. This test shou
ld display two | |
24 indentical solid green rectilinear triangles. | |
25 <div id="shape-inside-collinear-vertices">XXX XX X</div> | |
26 <div id="shape-inside">XXX XX X</div> | |
27 </body> | |
28 </html> | |
OLD | NEW |