comparison: layout/reftests/margin-collapsing/block-float-3b.html
layout/reftests/margin-collapsing/block-float-3b.html
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 #container { |
|
6 width: 110px; |
|
7 margin-left: auto; |
|
8 } |
|
9 #float1, #float2 { |
|
10 float: right; |
|
11 width: 100px; |
|
12 height: 20px; |
|
13 background-color: green; |
|
14 } |
|
15 #float1 { |
|
16 margin-bottom: 20px; |
|
17 } |
|
18 #float2 { |
|
19 margin-top: 10px; |
|
20 } |
|
21 </style> |
|
22 </head> |
|
23 <body> |
|
24 <div id="container"> |
|
25 <div id="float1"></div> |
|
26 <div id="float2"></div> |
|
27 </div> |
|
28 </body> |
|
29 </html> |