Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / CSS2 / normal-flow / inline-block-zorder-002.xht
blobcc304072e3db915c6b5a8eeed541b7cd496cbf94
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
2 <title>CSS Test: Test for z-ordering of inline-block</title>
3 <link rel="author" title="L. David Baron" href="https://dbaron.org/" />
4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
5 <link rel="help" href="http://www.w3.org/TR/CSS21/zindex.html#painting-order" />
6 <link rel="match" href="inline-block-zorder-001-ref.xht"/>
7 <style type="text/css">
8 div { width: 2em; height: 1em; }
9 span { display:inline-block; vertical-align: top; width: 2em; height: 1em; }
10 span span { display: block; background: green; }
11 div#after { margin-top: -1em; background: red; }
12 </style>
13 </head>
14 <body>
15 <div><span><span>&#160;</span></span></div>
16 <div id="after">&#160;</div>
19 </body></html>