Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / abspos-auto-left-and-width-change-parent-margin-left.html
blob765ae8d35214e90498d6e7135d20c77f0df0d9b0
1 <!DOCTYPE html>
2 <p>The word "FAIL" should not be seen below.</p>
3 <div style="position:relative; width:500px;">
4 <div id="elm" style="background:blue; height:25em;">
5 <div style="position:absolute; top:0; color:blue;">
6 FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
7 </div>
8 </div>
9 </div>
10 <script>
11 document.body.offsetTop;
12 document.getElementById("elm").style.marginLeft = "200px";
13 </script>