Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / window-height-change.html
blob6d439c0beb139c5b7d45286453abd8b6023cb878
1 <html>
2 <head>
3 <script>
4 function test() {
5 document.body.offsetTop; // force layout
6 document.getElementById('i').style.height = '100px';
7 document.getElementById('j').style.height = '100px';
9 </script>
10 <head>
11 <body onload="test()">
12 <p>
13 This tests for a regression against
14 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=5813">http://bugzilla.opendarwin.org/show_bug.cgi?id=5813</a>
15 positioned blocks don't update when resizing the window vertically</i>.
16 </p>
17 <p>
18 The two squares below should be solid green.
19 </p>
20 <hr>
21 <iframe id="i" style="width: 100px; height: 50px;" src="resources/window-height-change-frame.html"></iframe>
22 <iframe id="j" style="width: 100px; height: 50px;" src="resources/window-height-change-frame-flex.html"></iframe>
23 </body>
24 </html>