comparison: layout/reftests/margin-collapsing/block-negative-5.html
layout/reftests/margin-collapsing/block-negative-5.html
- branch
- TOR_BUG_9701
- changeset 9
- a63d609f5ebe
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 html, body { |
|
6 margin: 0; padding: 5px; |
|
7 } |
|
8 div { |
|
9 height: 20px; |
|
10 background-color: green; |
|
11 } |
|
12 #small { |
|
13 margin-top: 40px; |
|
14 margin-bottom: -40px; |
|
15 } |
|
16 #big { |
|
17 margin-top: -60px; |
|
18 background-color: blue; |
|
19 } |
|
20 </style> |
|
21 </head> |
|
22 <body> |
|
23 <div id="small"></div> |
|
24 <div id="big"></div> |
|
25 </body> |
|
26 </html> |