Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positive-margin-block-child-align-center.html
blobe46c88b980bcdf9d2aba33ec43e6ba003092dcbc
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6 margin: 0px;
9 div {
10 height: 100px;
13 .hidTarget {
14 position: absolute;
15 left: 100px;
16 width: 100px;
17 background-color: green;
20 .sized
22 width: 200px;
25 .marginLeft
27 margin-left: 100px;
28 background-color: red;
33 position: absolute;
34 top: 300px;
36 </style>
37 </head>
38 <body>
39 <div class="hidTarget"></div>
40 <div align="center" class="sized">
41 <div class="marginLeft"></div>
42 </div>
43 <p>
44 <a href="https://bugs.webkit.org/show_bug.cgi?id=89515">89515</a>: REGRESSION(r113885): Margin not properly applied to elements with align=center<br>
45 There should be a green rectangle above with no red.
46 </p>
47 </body>
48 </html>