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

32 lines
423 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;
padding-top: 40px;
background-color: green;
overflow: auto;
}
#c {
height: 160px;
margin-bottom: 40px;
background-color: blue;
}
</style>
</head>
<body>
<div class="a"></div>
<div id="b">
<div id="c"></div>
</div>
<div class="a"></div>
</body>
</html>