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