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

25 lines
342 B
HTML
Raw Normal View History

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