pjs/layout/reftests/margin-collapsing/block-overflow-4.html

32 строки
422 B
HTML

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