summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-percent-2-ref.html
blob: d9efe6bfb5782bbf543aab37689206184fd144d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#parent1 {
 width: 200px;
}
#block1 {
 height: 50px;
 background-color: green;
}
#parent2 {
 width: 500px;
}
#block2 {
 height: 50px;
 background-color: green;
}
#spacer {
 height: 50px;
}
</style>
</head>
<body>
<div id="parent1">
 <div id="block1"></div>
</div>
<div id="spacer"></div>
<div id="parent2">
 <div id="block2"></div>
</div>
</body>
</html>