| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 if (window.internals) | 5 if (window.internals) |
| 6 window.internals.settings.setCSSExclusionsEnabled(true); | 6 window.internals.settings.setCSSExclusionsEnabled(true); |
| 7 </script> | 7 </script> |
| 8 <style> | 8 <style> |
| 9 #page { font: 16px Ahem, sans-serif; } | 9 #page { font: 16px Ahem, sans-serif; } |
| 10 | 10 |
| 11 #region1 { | 11 #region1 { |
| 12 width: 180px; | 12 width: 180px; |
| 13 height: 100px; | 13 height: 100px; |
| 14 -webkit-shape-inside: rectangle(0, 0, 130px, 100px); | 14 -webkit-shape-inside: rectangle(0, 0, 130px, 100px); |
| 15 margin-top: 10px; | 15 margin-top: 10px; |
| 16 } | 16 } |
| 17 #region2 { | 17 #region2 { |
| 18 width: 300px; | 18 width: 300px; |
| 19 height: 145px; | 19 height: 150px; |
| 20 -webkit-shape-inside: rectangle(0, 0, 220px, 150px); | 20 -webkit-shape-inside: rectangle(0, 0, 220px, 150px); |
| 21 margin-top: 60px; | 21 margin-top: 60px; |
| 22 } | 22 } |
| 23 #region3 { | 23 #region3 { |
| 24 width: 300px; | 24 width: 300px; |
| 25 height: 50px; | 25 height: 50px; |
| 26 margin-top: 60px; | 26 margin-top: 60px; |
| 27 } | 27 } |
| 28 </style> | 28 </style> |
| 29 </head> | 29 </head> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 43 <p>X X</p> | 43 <p>X X</p> |
| 44 <p style="color: red"> X X X X X X X X X</p> | 44 <p style="color: red"> X X X X X X X X X</p> |
| 45 </div> | 45 </div> |
| 46 </div> | 46 </div> |
| 47 | 47 |
| 48 <p>Requires Ahem font. Two different -shape-inside property are applied to t
he first and second region. The third region is a simple region without -shape-i
nside. | 48 <p>Requires Ahem font. Two different -shape-inside property are applied to t
he first and second region. The third region is a simple region without -shape-i
nside. |
| 49 The rectangles should flow through the regions and the shape-insides should
be applied to the first two regions.</p> | 49 The rectangles should flow through the regions and the shape-insides should
be applied to the first two regions.</p> |
| 50 <p> Bug <a href="http://webkit.org/b/107880">107880</a>: Regions should resp
ect shape-inside</p> | 50 <p> Bug <a href="http://webkit.org/b/107880">107880</a>: Regions should resp
ect shape-inside</p> |
| 51 </body> | 51 </body> |
| 52 </html> | 52 </html> |
| OLD | NEW |