mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 00:24:14 +00:00
16 lines
540 B
HTML
16 lines
540 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Testcase for inline-block (bug 9458)</title>
|
|
<style type="text/css">
|
|
div#test span { display:inline-block; vertical-align: top; background: green; color: green; border-bottom: 0.25em solid green; border-top: 0.25em solid green; }
|
|
div#before { height: 1em; margin-bottom:-1em; }
|
|
div#before span { display: inline; vertical-align: top; background: red; color: red; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="before"><span> x </span></div>
|
|
<div id="test"><span> x </span></div>
|
|
</body>
|
|
</html>
|