table-anonymous-objects-059.xht (2066B)
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 infer-first-row.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 <link rel="match" href="reference/no_red_3x3_monospace_table-ref.xht"/> 9 </head> 10 <body style="font-family: monospace"> 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: relative; z-index: 1; color: red; padding: 1px;"> 14 15 <span style="display:table"> 16 <span style="display: table-cell">Row 1, Col 1</span> 17 <span style="display: table-cell">Row 1, Col 2</span> 18 <span style="display: table-cell">Row 1, Col 3</span> 19 <span style="display: table-row-group"> 20 <span style="display: table-row"> 21 <span style="display: table-cell">Row 22, Col 1</span> 22 <span style="display: table-cell">Row 22, Col 2</span> 23 <span style="display: table-cell">Row 22, Col 3</span> 24 </span> 25 <span style="display: table-row"> 26 <span style="display: table-cell">Row 333, Col 1</span> 27 <span style="display: table-cell">Row 333, Col 2</span> 28 <span style="display: table-cell">Row 333, Col 3</span> 29 </span> 30 </span> 31 </span> 32 </div> 33 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;"> 34 35 <table cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; border: none"> 36 <tr> 37 <td>Row 1, Col 1</td> 38 <td>Row 1, Col 2</td> 39 <td>Row 1, Col 3</td> 40 </tr> 41 <tr> 42 <td>Row 22, Col 1</td> 43 <td>Row 22, Col 2</td> 44 <td>Row 22, Col 3</td> 45 </tr> 46 <tr> 47 <td>Row 333, Col 1</td> 48 <td>Row 333, Col 2</td> 49 <td>Row 333, Col 3</td> 50 </tr> 51 </table> 52 </div> 53 </div> 54 </body> 55 </html>