Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / move-with-auto-width.html
blob3eba78d8ecfea5c3ea8528b7babab146ebd7e4be
1 <div style="width: 60px; height: 40px; position: relative;">
2 <div style="width: 20px; height: 40px; background-color: red; margin-left: 20px;"></div>
3 <div id="target" style="position: absolute; top: 0; left: 0; font-family: Ahem; font-size: 20px; color: green;">
4 X X
5 </div>
6 </div>
7 <script>
8 document.body.offsetTop;
9 document.getElementById("target").style.left = "20px";
10 </script>