comparison: layout/reftests/margin-collapsing/inline-block-child-3-ref.html
layout/reftests/margin-collapsing/inline-block-child-3-ref.html
- branch
- TOR_BUG_3246
- changeset 5
- 4ab42b5ab56c
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 body { |
|
6 margin: 0; |
|
7 padding: 10px 0; |
|
8 } |
|
9 #block { |
|
10 background-color: green; |
|
11 padding: 10px 0; |
|
12 } |
|
13 #inline-block { |
|
14 display: inline-block; |
|
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> |