inline-table-zorder-002.xht (854B)
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-table</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-table-zorder-001-ref.xht"/> 7 <style type="text/css"> 8 div { width: 2em; height: 2em; } 9 span { display:inline-table; vertical-align: top; width: 2em; height: 2em; } 10 span span { display: block; background: green; } 11 div#after { margin-top: -2em; background: red; } 12 </style> 13 </head> 14 <body> 15 <div><span><span> </span></span></div> 16 <div id="after"> </div> 17 18 19 </body></html>