Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioned-block-auto-width-movement.html
blobfe402f63c07add105e026efee783eb749bd6de07
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #d {
6 position: absolute;
7 top: 50px;
8 left: 10px;
10 </style>
11 </head>
12 <body>
13 <p> Bug webkit.org/b/112052: A positioned block with auto width should resize when moved left or right. There should be no horizontal scrollbars below.</p>
14 <div id="d">
15 Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah Blah blah blah blah
16 </div>
17 <script type='text/javascript'>
18 document.body.offsetHeight;
19 var d = document.getElementById("d");
20 d.style.left = "200px";
21 </script>
22 </body>
23 </html>