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.setCSSShapesEnabled(true); | |
7 </script> | |
8 <style> | 4 <style> |
9 #rectangle { | 5 #rectangle { |
10 font: 20px Ahem, sans-serif; | 6 font: 20px Ahem, sans-serif; |
11 line-height: 20px; | 7 line-height: 20px; |
12 -webkit-font-smoothing: none; | 8 -webkit-font-smoothing: none; |
13 -webkit-flow-into: flow; | 9 -webkit-flow-into: flow; |
14 } | 10 } |
15 .region { | 11 .region { |
16 -webkit-flow-from: flow; | 12 -webkit-flow-from: flow; |
17 width: 200px; | 13 width: 200px; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 <div id="page"> | 46 <div id="page"> |
51 <div id="border1"></div> | 47 <div id="border1"></div> |
52 <div id="region1" class="region"></div> | 48 <div id="region1" class="region"></div> |
53 <div id="border2"></div> | 49 <div id="border2"></div> |
54 <div id="region2" class="region"></div> | 50 <div id="region2" class="region"></div> |
55 </div> | 51 </div> |
56 <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 re
ctangular shapes boundaries are represented by the blue rectangles. The inline c
ontent should flow inside the blue ractangles, the overflow should be pushed dow
n below the last region's content box, which means the overflow should start jus
t below the last regions's shape, 10px above the green border box.</p> | 52 <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 re
ctangular shapes boundaries are represented by the blue rectangles. The inline c
ontent should flow inside the blue ractangles, the overflow should be pushed dow
n below the last region's content box, which means the overflow should start jus
t below the last regions's shape, 10px above the green border box.</p> |
57 <p>Bug <a href="http://webkit.org/b/117599">117599</a>[CSS Shapes][CSS Regio
ns] Respect bottom positioned shapes and content adjustment inside shapes</p> | 53 <p>Bug <a href="http://webkit.org/b/117599">117599</a>[CSS Shapes][CSS Regio
ns] Respect bottom positioned shapes and content adjustment inside shapes</p> |
58 </body> | 54 </body> |
59 </html> | 55 </html> |
OLD | NEW |