| 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 #rectangle { | 5 #rectangle { |
| 10 font: 20px Ahem, sans-serif; | 6 font: 20px Ahem, sans-serif; |
| 11 -webkit-font-smoothing: none; | 7 -webkit-font-smoothing: none; |
| 12 -webkit-flow-into: rectangle; | 8 -webkit-flow-into: rectangle; |
| 13 } | 9 } |
| 14 | 10 |
| 15 .region { -webkit-flow-from: rectangle; } | 11 .region { -webkit-flow-from: rectangle; } |
| 16 | 12 |
| 17 #region1 { | 13 #region1 { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 45 <div id="page"> | 41 <div id="page"> |
| 46 <div id="region1" class="region"></div> | 42 <div id="region1" class="region"></div> |
| 47 <div id="region2" class="region"></div> | 43 <div id="region2" class="region"></div> |
| 48 <div id="region3" class="region"></div> | 44 <div id="region3" class="region"></div> |
| 49 </div> | 45 </div> |
| 50 <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. | 46 <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. |
| 51 The inline content should flow through the regions and the shape-insides sho
uld be applied to the first two regions thus the content should be only 130px wi
de in the first (original width: 180px) and only 220px wide in the second (origi
nal width: 300px) region.</p> | 47 The inline content should flow through the regions and the shape-insides sho
uld be applied to the first two regions thus the content should be only 130px wi
de in the first (original width: 180px) and only 220px wide in the second (origi
nal width: 300px) region.</p> |
| 52 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Ex
clusions] Shape-inside on regions should respect region borders and paddings</p> | 48 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Ex
clusions] Shape-inside on regions should respect region borders and paddings</p> |
| 53 </body> | 49 </body> |
| 54 </html> | 50 </html> |
| OLD | NEW |