no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / abs-pos / abs-pos-auto-margin-centered.html
blob9ca4bdbe5054c307e5b6a3fb518bdc899356f0df
1 <!DOCTYPE HTML>
2 <title> absolutely positioned element should be vertically centered even if the height is bigger than that of the containing block (reference) - bug 812899</title>
3 <style>
4 body > div {
5 font-size: 16px;
6 position: relative;
7 border: red solid;
8 margin-top: 5em;
9 width: 5em;
10 height: 5em;
13 body > div > div {
14 position: absolute;
15 border: medium solid blue;
16 margin: auto auto;
17 height: 150%;
18 width: 150%;
19 left: 0px;
20 right: 0px;
21 top: 0px;
22 bottom: 0px;
24 </style>
26 <body>
27 <div>
28 <div></div>
29 </div>
30 </body>
32 </html>