comparison: layout/reftests/box/flexbox-abspos-container-2-ref.html
layout/reftests/box/flexbox-abspos-container-2-ref.html
- changeset 2
- 7e26c7da4463
equal
deleted
inserted
replaced
|
1 <!-- Any copyright is dedicated to the Public Domain. |
|
2 http://creativecommons.org/publicdomain/zero/1.0/ --> |
|
3 <html> |
|
4 <head> |
|
5 <style> |
|
6 .relpos_parent { |
|
7 position: relative; |
|
8 width: 100px; |
|
9 height: 100px; |
|
10 background: lightblue; |
|
11 } |
|
12 .abspos_child { |
|
13 position: absolute; |
|
14 left: 30px; |
|
15 top: 10px; |
|
16 width: 20px; |
|
17 height: 150px; |
|
18 background: purple; |
|
19 } |
|
20 </style> |
|
21 </head> |
|
22 <body> |
|
23 <div class="relpos_parent"> |
|
24 <div class="abspos_child"></div> |
|
25 </div> |
|
26 </body> |
|
27 </html> |