Mypal/layout/reftests/margin-collapsing/block-non-sibling-3c.html

32 lines
360 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
background-color: green;
margin-bottom: 40px;
}
#a div {
height: 20px;
margin-bottom: 80px;
}
#b {
background-color: green;
margin-top: 10px;
}
#b div {
height: 20px;
margin-top: 20px;
}
</style>
</head>
<body>
<div id="a">
<div></div>
</div>
<div id="b">
<div></div>
</div>
</body>
</html>