comparison: layout/reftests/margin-collapsing/inline-block-child-3.html
layout/reftests/margin-collapsing/inline-block-child-3.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 body { |
|
6 margin: 0; |
|
7 } |
|
8 #block { |
|
9 background-color: green; |
|
10 margin: 10px 0; |
|
11 } |
|
12 #inline-block { |
|
13 display: inline-block; |
|
14 margin: 10px 0; |
|
15 background-color: lightgreen; |
|
16 } |
|
17 </style> |
|
18 </head> |
|
19 <body> |
|
20 <div id="block"><div id="inline-block">Hello Kitty</div></div> |
|
21 </body> |
|
22 </html> |