Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / replaced / percent-height-in-anonymous-block.html
blobc69988b27d562fc2bc9eaacf603a0829472de3e4
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 function test()
7 document.getElementById("target").style.height = "100px";
9 </script>
10 </head>
11 <body>
12 <div style="height: 50px; background: red; width: 100px;" id="target">
13 <div style="height: 100%">
14 <div></div>
15 <iframe style="vertical-align: bottom; width: 100%; height:100%; background: green; border: 0;"></iframe>
16 </div>
17 </div>
18 </body>
19 <script>
20 document.body.offsetTop;
21 test();
22 </script>
23 </html>