| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 body { margin: 10px; } | |
| 6 | |
| 7 .flowContentSize { width: 50px; height: 50px; } | |
| 8 #article { -webkit-flow-into: flow; background-color: green; } | |
| 9 | |
| 10 .expectedRegionSize { width: 50px; height: 50px; } | |
| 11 #red { background-color: red; position: absolute; top: 150px; left:
60px; } | |
| 12 | |
| 13 .regionContainerSize { width: 100px; height: 100px; } | |
| 14 #container { position: absolute; top: 150px; } | |
| 15 #region { -webkit-flow-from: flow; width: 50px; float: right; } | |
| 16 </style> | |
| 17 </head> | |
| 18 <body> | |
| 19 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Aut
o height is not working for regions</a>.</p> | |
| 20 <p>The region is a block element, right floating.</p> | |
| 21 <p>On success, you should not see a red rectangle below.</p> | |
| 22 <div id="red" class="expectedRegionSize"></div> | |
| 23 <div id="article" class="flowContentSize"></div> | |
| 24 <div id="container" class="regionContainerSize"> | |
| 25 <div id="region"></div> | |
| 26 </div> | |
| 27 </body> | |
| 28 </html> | |
| OLD | NEW |