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

31 строка
407 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.a {
height: 20px;
background-color: green;
}
#b {
margin-top: 20px;
margin-bottom: 20px;
background-color: red;
overflow: visible;
}
#c {
height: 200px;
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>