Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / relative-positioned-inline-container.html
blob357b5f76c709580be381edaba048afb71f57a301
1 <body>
2 <div id="container" style="width: 400px; display: none;">
3 <span style="position: relative">
4 <br>
5 <div style="z-index: -1; position: absolute; width: 100px; height: 100px; background-color: green;"></div>
6 <div id="target" style="display: inline-block; width: 100px; height: 100px; background-color: red;"></div>
7 </span>
8 </div>
9 <script>
10 document.body.offsetTop;
11 document.getElementById("container").style.removeProperty("display");
12 document.body.offsetTop;
13 document.getElementById("target").style.height = "0";
14 </script>
15 </body>