summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/inline-block-child-3-ref.html
blob: 6ca83dd06ebd5e2d667004cede04348af8f9e7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
 margin: 0;
 padding: 10px 0;
}
#block {
 background-color: green;
 padding: 10px 0;
}
#inline-block {
 display: inline-block;
 background-color: lightgreen;
}
</style>
</head>
<body>
<div id="block"><div id="inline-block">Hello Kitty</div></div>
</body>
</html>