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

16 строки
383 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; background: green; }
div#after { margin-top:-1em; background: red; }
</style>
</head>
<body>
<div><span>&nbsp;</span></div>
<div id="after">&nbsp;</div>
</body>
</html>