| 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 #content { | 5 #content { |
| 10 font: 18px Ahem, sans-serif; | 6 font: 18px Ahem, sans-serif; |
| 11 line-height: 20px; | 7 line-height: 20px; |
| 12 -webkit-flow-into: flow; | 8 -webkit-flow-into: flow; |
| 13 } | 9 } |
| 14 .region { | 10 .region { |
| 15 width: 300px; | 11 width: 300px; |
| 16 height: 300px; | 12 height: 300px; |
| 17 background-color: yellow; | 13 background-color: yellow; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 38 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX | 34 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX |
| 39 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX | 35 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX |
| 40 </div> | 36 </div> |
| 41 | 37 |
| 42 <p>Requires Ahem font. The content flows into a region (300px wide) what contain
s a shape-inside rectangle (200px wide) with 50px left offset.<br/> | 38 <p>Requires Ahem font. The content flows into a region (300px wide) what contain
s a shape-inside rectangle (200px wide) with 50px left offset.<br/> |
| 43 The content should fill the shape-inside area out. The different paddings (top 1
0, right 20, bottom 30, left 40px) should be applied on the container. The paddi
ng shouldn't have any effect on the shape-inside's content. | 39 The content should fill the shape-inside area out. The different paddings (top 1
0, right 20, bottom 30, left 40px) should be applied on the container. The paddi
ng shouldn't have any effect on the shape-inside's content. |
| 44 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclus
ions] Shape-inside on regions should respect region borders and paddings</p> | 40 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclus
ions] Shape-inside on regions should respect region borders and paddings</p> |
| 45 | 41 |
| 46 </body> | 42 </body> |
| 47 </html> | 43 </html> |
| OLD | NEW |