gecko-dev/layout/reftests/margin-collapsing/block-non-sibling-3d.html

32 строки
360 B
HTML

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