comparison: layout/reftests/margin-collapsing/block-first-child-2.html
layout/reftests/margin-collapsing/block-first-child-2.html
- branch
- TOR_BUG_9701
- changeset 11
- deefc01c0e14
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 #separator, #first-child { |
|
6 height: 20px; |
|
7 background-color: green; |
|
8 } |
|
9 #parent { |
|
10 margin-top: 20px; |
|
11 } |
|
12 #first-child { |
|
13 margin-top: -10px; |
|
14 } |
|
15 </style> |
|
16 </head> |
|
17 <body> |
|
18 <div id="separator"></div> |
|
19 <div id="parent"> |
|
20 <div id="first-child"></div> |
|
21 </div> |
|
22 </body> |
|
23 </html> |