Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / transform-removed-from-absolute-with-fixed-children.html
blobf659c8d53b863be0c4eccb45d4c49ac54ac6e6fa
1 <!DOCTYPE html>
2 <p>The word "PASS" should be seen in the bottom left corner of the viewport, and there should be no crash or assertion failure.</p>
3 <div style="position:relative;">
4 <div id="elm" style="transform:rotate(3deg); position:absolute;">
5 <div id="child" style="position:fixed; bottom:0;">PASS</div>
6 </div>
7 </div>
8 <script>
9 document.body.offsetTop;
10 document.getElementById("elm").style.transform = "none";
11 document.body.offsetTop;
12 document.getElementById("child").style.width = "50%";
13 </script>