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