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

32 строки
424 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: hidden;
}
#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>