1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html><head>
3 <link rel="reference" href="inline-table-zorder-003-ref.xht">
4 <title>CSS Test: Test for z-ordering of inline-table</title>
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/zindex.html#painting-order">
8 <meta name="flags" content="">
9 <style type="text/css">
10 div { height: 1em; }
11 div#test > span { display:inline-table; vertical-align: top; height: 1em; background: red; color: red; }
12 div#after { margin-top:-1em; }
13 div#after > span { display: inline; vertical-align: top; background: green; color: green; border-bottom: 0.25em solid green; border-top: 0.25em solid green; }
14 </style>
15 </head>
16 <body>
17 <div id="test"><span> x </span></div>
18 <div id="after"><span> x </span></div>
19
20
21 </body></html>