2007-01-27 18:36:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2010-01-27 23:46:49 +00:00
|
|
|
<title>CSS 2.1 Test Suite: Test for z-ordering of inline-table</title>
|
|
|
|
<link rel="author" title="L. David Baron" href="http://dbaron.org/" />
|
|
|
|
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
|
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/zindex.html#painting-order" />
|
|
|
|
<meta name="flags" content="" />
|
2007-01-27 18:36:57 +00:00
|
|
|
<style type="text/css">
|
2007-02-04 20:52:46 +00:00
|
|
|
div#test > span { display:inline-table; 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>
|