mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
17 lines
427 B
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> </span></span></div>
|
|
<div id="after"> </div>
|
|
</body>
|
|
</html>
|