gecko-dev/layout/reftests/margin-collapsing/block-root-1b-ref2.html

24 lines
327 B
HTML

<!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>