summaryrefslogtreecommitdiff
path: root/layout/reftests/margin-collapsing/block-root-1b-ref2.html
blob: 7ae45e0df0a7ec5249fa404205723a2463525b62 (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: 40px 20px; padding: 0 20px;
 background-color: red;
 height: 20px;
}
div div {
 margin: 0; padding: 0;
 background-color: blue;
}
</style>
</head>
<body>
<div><div></div></div>
</body>
</html>