summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-abs-pos-2-ref2.html
blob: f673e153f6ccf155fcb84178055cd478e030a582 (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
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body {
 margin: 0; padding: 10px;
}
#abs-pos {
 width: 200px;
 background-color: lightgreen;
}
.margin {
 height: 40px;
}
#content {
 height: 100px;
 background-color: green;
}
</style>
</head>
<body>
<div id="abs-pos">
 <div class="margin"></div>
 <div id="content"></div>
 <div class="margin"></div>
</div>
</body>
</html>