gecko/layout/reftests/margin-collapsing/fieldset-child-1.html

34 lines
493 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#separator-top {
height: 20px;
background-color: green;
}
fieldset {
background-color: blue;
margin: 10px 0;
padding: 0;
border: none;
}
#margin-child {
height: 40px;
background-color: green;
margin: 20px;
}
#separator-bottom {
height: 20px;
background-color: green;
}
</style>
</head>
<body>
<div id="separator-top"></div>
<fieldset>
<div id="margin-child"></div>
</fieldset>
<div id="separator-bottom"></div>
</body>
</html>