table-anonymous-objects-058.xht (1113B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 5 <title>CSS Test: Auto-imported from Gecko test 448111-1.html</title> 6 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/> 8 <meta name="flags" content='dom'/> 9 </head> 10 <body> 11 <p>There should be no red below, except for antialiasing issues.</p> 12 <div style="position: relative; font-size: 2em;"> 13 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;"> 14 15 <table border="1"><tr> 16 <td style="float: left; height: 200px"> 17 <script type="text/javascript">v = document.body.offsetHeight;</script> 18 </td> 19 <td style="float: right"> 20 Right 21 </td></tr> 22 </table> 23 </div> 24 <div style="position: relative; z-index: 1; color: red; padding: 1px;"> 25 26 <table border="1"><tr> 27 <td style="float: left; height: 200px"> 28 </td> 29 <td style="float: right"> 30 Right 31 </td></tr> 32 </table> 33 </div> 34 </div> 35 </body> 36 </html>