summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-em-length-1.html
blob: bc66603140c1d8cb079ded391034270892ec36d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
 font-size: 20px;
}
#block1 {
 height: 20px;
 margin-bottom: 10em;
 background-color: blue;
}
#block2 {
 font-size: 50px;
 height: 20px;
 margin-top: 5em;
 background-color: blue;
}
</style>
</head>
<body>
<div id="block1"></div>
<div id="block2"></div>
</body>
</html>