gecko-dev/layout/reftests/margin-collapsing/block-negative-4-ref2.html

26 строки
343 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body {
margin: 0; padding: 5px;
}
#positive, #negative {
height: 20px;
background-color: blue;
}
#margin {
height: 10px;
}
#negative {
background-color: green;
}
</style>
</head>
<body>
<div id="positive"></div>
<div id="margin"></div>
<div id="negative"></div>
</body>
</html>