gecko-dev/layout/reftests/margin-collapsing/inline-block-sibling-1-ref.html
Jonathan Kew 27a7a54dc2 Bug 518357, make reftests less sensitive to default font size settings. r=roc
--HG--
extra : rebase_source : 1914dd5f2998a2f45e10ccf3574d854ba9240f52
2009-09-23 15:55:55 +01:00

29 lines
477 B
HTML

<!DOCTYPE html>
<html>
<head>
<!-- specifying all heights in em units so that large font sizes
don't disrupt relationships; everything will scale together -->
<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: 2em;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
<div id="c"></div>
</div>
</body>
</html>