comparison: layout/reftests/abs-pos/fixed-pos-auto-offset-1-ref.html
layout/reftests/abs-pos/fixed-pos-auto-offset-1-ref.html
- branch
- TOR_BUG_9701
- changeset 13
- 44a2da4a2ab2
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <title>Testcase Bug 851514</title> |
|
5 <style> |
|
6 #parent { |
|
7 position: fixed; |
|
8 height: 30px; |
|
9 width: 30px; |
|
10 background: green; |
|
11 left: 70px; |
|
12 top: 70px; |
|
13 } |
|
14 #child { |
|
15 position: fixed; |
|
16 top: auto; |
|
17 left: auto; |
|
18 width: 10px; |
|
19 height: 10px; |
|
20 background: purple; |
|
21 } |
|
22 </style> |
|
23 </head> |
|
24 <body> |
|
25 <div id="parent"> |
|
26 <div id="child"></div> |
|
27 </div> |
|
28 The purple block should be inside the green block. |
|
29 </body> |
|
30 </html> |