comparison: layout/reftests/margin-collapsing/block-max-height-last-child-5b.html
layout/reftests/margin-collapsing/block-max-height-last-child-5b.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 #parent { |
|
6 max-height: 100px; |
|
7 margin-bottom: 20px; |
|
8 background-color: lightgreen; |
|
9 } |
|
10 #last-child { |
|
11 height: 100px; |
|
12 margin-bottom: -10px; |
|
13 background-color: green; |
|
14 } |
|
15 #separator { |
|
16 height: 20px; |
|
17 background-color: blue; |
|
18 } |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <div id="parent"> |
|
23 <div id="last-child"></div> |
|
24 </div> |
|
25 <div id="separator"></div> |
|
26 </body> |
|
27 </html> |