comparison: layout/reftests/margin-collapsing/block-float-2a.html
layout/reftests/margin-collapsing/block-float-2a.html
- branch
- TOR_BUG_9701
- changeset 3
- 141e0f1194b1
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 #float { |
|
10 float: left; |
|
11 width: 50px; |
|
12 margin: 20px 0; |
|
13 background-color: green; |
|
14 } |
|
15 #child { |
|
16 height: 20px; |
|
17 margin: 40px 0; |
|
18 background-color: lightgreen; |
|
19 } |
|
20 </style> |
|
21 </head> |
|
22 <body> |
|
23 <div id="separator"></div> |
|
24 <div id="float"> |
|
25 <div id="child"></div> |
|
26 </div> |
|
27 </body> |
|
28 </html> |