gecko/layout/reftests/margin-collapsing/inline-block-sibling-1a.html

30 lines
371 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
width: 200px;
background-color: green;
}
#b, #c {
display: inline-block;
height: 2em; width: 200px;
background-color: blue;
vertical-align: bottom;
}
#b {
margin-bottom: .5em;
}
#c {
margin-top: 1.5em;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
<div id="c"></div>
</div>
</body>
</html>