| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <!-- | 3 <!-- |
| 4 This is a regression test for https://code.google.com/p/chromium/issues/detail?i
d=323696. | 4 This is a regression test for https://code.google.com/p/chromium/issues/detail?i
d=323696. |
| 5 --> | 5 --> |
| 6 <head> | 6 <head> |
| 7 <style> | 7 <style> |
| 8 #shape-inside { | 8 #shape-inside { |
| 9 shape-inside: rectangle(0px, 1.3px, 200px, 200px); | 9 shape-inside: polygon(0px 1.3px, 200px 1.3px, 200px 201.3px, 0px 201.3px
); |
| 10 font: 100px/1 Ahem, sans-serif; | 10 font: 100px/1 Ahem, sans-serif; |
| 11 color: green; | 11 color: green; |
| 12 background-color: grey; | 12 background-color: grey; |
| 13 width: 200px; | 13 width: 200px; |
| 14 height: 200px; | 14 height: 200px; |
| 15 } | 15 } |
| 16 </style> | 16 </style> |
| 17 </head> | 17 </head> |
| 18 <body> | 18 <body> |
| 19 <div id="shape-inside">X</div> | 19 <div id="shape-inside">X</div> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |