Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / center-align-absolute-position-inline-block.html
blob8e5185771d54e3b258fdd794d38e05a90f7d6e61
1 <html>
2 <head>
3 <style>
4 #block {
5 margin: 0px;
6 padding: 0px;
7 position: absolute;
8 width: 200px;
9 background: blue;
10 height: 20px;
11 display: inline-block;
13 </style>
14 </head>
15 <body style="width: 800px;">
16 <p> The two blue bars should be aligned with each other. </p>
17 <div style="text-align: center" >
18 <span style="position: absolute; top: 44px;">
19 <div id="block"></div>
20 </span>
21 </div>
22 <div id="block" style="position: absolute; top: 80px; left: 408px;"></div>
23 </body>
24 </html>