2007-01-27 18:36:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Testcase for inline-block (bug 9458)</title>
|
|
|
|
<style type="text/css">
|
2007-02-04 20:52:46 +00:00
|
|
|
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; }
|
2007-01-27 18:36:57 +00:00
|
|
|
div#before { height: 1em; margin-bottom:-1em; }
|
2007-02-04 20:52:46 +00:00
|
|
|
div#before span { display: inline; vertical-align: top; background: red; color: red; }
|
2007-01-27 18:36:57 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2007-02-28 23:46:16 +00:00
|
|
|
<div id="before"><span> x </span></div>
|
|
|
|
<div id="test"><span> x </span></div>
|
2007-01-27 18:36:57 +00:00
|
|
|
</body>
|
|
|
|
</html>
|