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

19 lines
368 B
HTML

<!DOCTYPE html>
<html>
<head>
<!-- Without floats, no clearance applies, thus margin-top of #clear
should collapse with margin-bottom of its parent element. -->
<style type="text/css">
.separator {
height: 20px;
margin-bottom: 20px;
background-color: green;
}
</style>
</head>
<body>
<div class="separator"></div>
<div class="separator"></div>
</body>
</html>