gecko/layout/reftests/margin-collapsing/block-abs-pos-2-ref2.html

28 lines
380 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#absPos {
position: absolute;
top: 20px; left: 20px;
width: 200px;
background-color: green;
}
.margin {
height: 40px;
}
#content {
height: 100px;
background-color: blue;
}
</style>
</head>
<body>
<div id="absPos">
<div class="margin"></div>
<div id="content"></div>
<div class="margin"></div>
</div>
</body>
</html>