comparison: layout/reftests/margin-collapsing/block-zero-min-height-3c.html
layout/reftests/margin-collapsing/block-zero-min-height-3c.html
- branch
- TOR_BUG_3246
- changeset 6
- 8bccb770b82d
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 .separator { |
|
6 height: 20px; |
|
7 background-color: green; |
|
8 } |
|
9 #min-height { |
|
10 min-height: 0; |
|
11 height: auto; |
|
12 margin-top: 30px; |
|
13 margin-bottom: 40px; |
|
14 } |
|
15 #margin-only-child { |
|
16 margin-top: 10px; |
|
17 margin-bottom: 20px; |
|
18 } |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <div class="separator"></div> |
|
23 <div id="min-height"> |
|
24 <div id="margin-only-child"></div> |
|
25 </div> |
|
26 <div class="separator"></div> |
|
27 </body> |
|
28 </html> |