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

32 lines
427 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-y: scroll;
}
#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>