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