summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-clear-2-noref.html
blob: ada1f22ffed72b85eff59fafe79d0c35169f877a (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: 30px;
 background-color: green;
}
</style>
</head>
<body>
<div class="separator"></div>
<div class="separator"></div>
</body>
</html>