comparison: layout/reftests/margin-collapsing/block-no-content-2c.html
layout/reftests/margin-collapsing/block-no-content-2c.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 #block1 { |
|
6 height: 20px; |
|
7 margin-bottom: 30px; |
|
8 background-color: green; |
|
9 } |
|
10 #margin-only { |
|
11 margin-top: 40px; |
|
12 margin-bottom: 10px; |
|
13 } |
|
14 #block2 { |
|
15 height: 20px; |
|
16 margin-top: 20px; |
|
17 background-color: green; |
|
18 } |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <div id="block1"></div> |
|
23 <div id="margin-only"></div> |
|
24 <div id="block2"></div> |
|
25 </body> |
|
26 </html> |