layout/reftests/box/flexbox-abspos-container-1d.html

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:1b148aaad9e1
1 <!-- Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ -->
3 <!-- This testcase is the same as the -1c version, but with -moz-inline-box. -->
4 <html>
5 <head>
6 <style>
7 .box { display: -moz-inline-box }
8 .relpos_parent {
9 position: relative;
10 width: 100px;
11 height: 100px;
12 background: lightblue;
13 }
14 .abspos_child {
15 position: absolute;
16 left: 30px;
17 bottom: 10px;
18 width: 20px;
19 height: 20px;
20 background: purple;
21 }
22 </style>
23 </head>
24 <body>
25 <div class="box">
26 <div class="box relpos_parent">
27 <div class="abspos_child"></div>
28 </div>
29 </div>
30 </body>
31 </html>

mercurial