summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-html-body-1-ref2.html
blob: f527a4c25e613d10aa9bcde0f9b8fb88c45ddb1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body {
 margin: 0; padding: 0;
 background-color: green;
}
div {
 margin: 30px 20px;
 background-color: red;
 height: 20px;
}
div div {
 margin: 30px;
 background-color: blue;
}
</style>
</head>
<body>
<div><div></div></div>
</body>
</html>