| window.internals.settings.setCSSShapesEnabled(true); |
| font: 20px Ahem, sans-serif; |
| #region1 { -webkit-shape-inside: rectangle(50px, 100px, 100px, 100px); } |
| -webkit-shape-inside: rectangle(25px, 100px, 140px, 100px); |
| X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X |
| <div id="region1" class="region"></div> |
| <div id="region2" class="region"></div> |
| <p style="margin-top: 50px;">Requires Ahem font. There are two regions (10px padding is applied to the regions) with two ractangle shape-insides, the shape-insides are smaller and have top and left offsets inside the content box. The rectangular shapes boundaries are represented by the blue rectangles. The inline content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box, which means the overflow should start just below the last regions's shape, 10px above the green border box.</p> |
| <p>Bug <a href="http://webkit.org/b/117599">117599</a>[CSS Shapes][CSS Regions] Respect bottom positioned shapes and content adjustment inside shapes</p> |