gecko/layout/reftests/margin-collapsing/block-max-height-last-child-5a.html

28 lines
396 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#parent {
max-height: 100px;
margin-bottom: -10px;
background-color: lightgreen;
}
#last-child {
height: 100px;
margin-bottom: 20px;
background-color: green;
}
#separator {
height: 20px;
background-color: blue;
}
</style>
</head>
<body>
<div id="parent">
<div id="last-child"></div>
</div>
<div id="separator"></div>
</body>
</html>