OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #content { -webkit-flow-into: flow; font: 50px/1 Ahem; } | |
6 #region { -webkit-flow-from: flow; position: absolute; top: 200px; w
idth: 150px; overflow: hidden; } | |
7 </style> | |
8 </head> | |
9 <script src="../../resources/check-layout.js"></script> | |
10 <body onload="checkLayout('#region')"> | |
11 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=105185"> [C
SSRegions] RenderFlowThread should keep a count of auto height regions</a>.</p> | |
12 <p>The region height changes dynamically from auto to defined.<p> | |
13 <p>On success, you should see PASS below.</p> | |
14 <div id="content">a a a a a a</div> | |
15 <div id="region" data-expected-height=50></div> | |
16 <script> | |
17 document.body.offsetTop; | |
18 document.getElementById("region").style.height = "50px"; | |
19 </script> | |
20 </body> | |
21 </html> | |
OLD | NEW |