gecko/layout/reftests/margin-collapsing/block-float-2b-ref.html

30 lines
367 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
height: 20px;
background-color: green;
}
#b {
float: right;
width: 50px;
background-color: blue;
margin-top: 20px;
padding-top: 40px;
padding-bottom: 40px;
}
#b div {
height: 20px;
background-color: red;
}
</style>
</head>
<body>
<div id="a"></div>
<div id="b">
<div></div>
</div>
</body>
</html>