summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-clear-2-ref.html
blob: ed572a6f9b7c99ad3d78cb5109b31822e935c5c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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>