Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / abspos-auto-left-auto-top-inside-auto-margins.html
blobaed6993286e922568fabf916c264670dccc0ebc5
1 <!DOCTYPE html>
2 <p>On this page there should be a blue square above a yellow square.</p>
3 <div style="position:relative; width:500px;">
4 <div id="elm" style="margin:auto; width:100px; height:400px; background:yellow;">
5 <div></div>
6 <div style="position:absolute; width:200px; height:200px; background:blue;"></div>
7 </div>
8 </div>
9 <script>
10 document.body.offsetTop;
11 document.getElementById("elm").style.width = "200px";
12 </script>