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