Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / replaced / absolute-position-with-auto-width-and-left-and-right.html
blob6d87a4d032b2a97c5b6b1f8567b98a9a65298b66
1 <html>
2 <head>
3 <style>
4 #a { position: relative; height: 100px; width: 150px; border: 2px solid black; }
5 #b { position: absolute; left: 25px; height: auto; right: 25px; }
6 </style>
7 </head>
8 <body>
9 <p>The blue box should be horizontally centered in the black box with 25px of white on the left and right.</p>
10 <div id="a">
11 <img id="b" src="resources/square-blue-100x100.png">
12 </div>
13 </body>
14 </html>