| 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 #page { font: 16px Ahem, sans-serif; } | 5 #page { font: 16px Ahem, sans-serif; } |
| 10 | 6 |
| 11 #region1 { | 7 #region1 { |
| 12 width: 180px; | 8 width: 180px; |
| 13 height: 100px; | 9 height: 100px; |
| 14 -webkit-shape-inside: rectangle(0, 0, 130px, 100px); | 10 -webkit-shape-inside: rectangle(0, 0, 130px, 100px); |
| 15 margin-top: 10px; | 11 margin-top: 10px; |
| 16 } | 12 } |
| 17 #region2 { | 13 #region2 { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 <p>X X</p> | 39 <p>X X</p> |
| 44 <p style="color: red"> X X X X X X X X X</p> | 40 <p style="color: red"> X X X X X X X X X</p> |
| 45 </div> | 41 </div> |
| 46 </div> | 42 </div> |
| 47 | 43 |
| 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. | 44 <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> | 45 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> | 46 <p> Bug <a href="http://webkit.org/b/107880">107880</a>: Regions should resp
ect shape-inside</p> |
| 51 </body> | 47 </body> |
| 52 </html> | 48 </html> |
| OLD | NEW |