gecko-dev/layout/reftests/margin-collapsing/block-overflow-2-ref.html

30 строки
384 B
HTML

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