Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / basic / quirk-percent-height-grandchild.html
blob491b2eee3d967773a44309359d7a55ddadeee007
1 <html>
2 <head>
3 <script>
4 function test()
6 document.getElementById("target").style.height = "100px";
8 </script>
9 </head>
10 <body>
11 <div style="height: 50px; background: red; width: 100px;" id="target">
12 <div>
13 <div style="height:100%; background: green;"></div>
14 </div>
15 </div>
16 </body>
17 <script>
18 document.body.offsetTop;
19 test();
20 </script>
21 </html>