gecko-dev/layout/reftests/bugs/9458-zorder-2.html

17 lines
427 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Testcase for inline-block (bug 9458)</title>
<style type="text/css">
div { width: 2em; height: 1em; }
span { display:inline-block; vertical-align: top; width: 2em; height: 1em; }
span span { display: block; background: green; }
div#after { margin-top: -1em; background: red; }
</style>
</head>
<body>
<div><span><span>&nbsp;</span></span></div>
<div id="after">&nbsp;</div>
</body>
</html>