1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4
5 <title>CSS Test: Auto-imported from Gecko test infer-cells-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="">
9 </head>
10 <body style="font-family: monospace; white-space: nowrap;">
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 <!-- The test in the first row might not be correct, depending on spec
16 clarifications -->
17 <span style="display: table-row">
18 <span>Row 1,</span>
19 <span>Col 1Row 1,</span>
20 <span>Col 2Row 1,</span>
21 <span>Col 3</span>
22 </span>
23 <span style="display: table-row">
24 <span style="display: block">Row 22, Col 1Row 22, Col 2Row 22, Col 3</span>
25 </span>
26 <span style="display: table-row">
27 <span>Row 333, Col 1</span><span>Row 333, Col 2</span><span>Row 333, Col 3</span>
28 </span>
29 </div>
30 <div style="position: relative; z-index: 1; color: red; padding: 1px;">
31
32 <table cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; border: none">
33 <tr>
34 <td>Row 1, Col 1</td>
35 <td>Row 1, Col 2</td>
36 <td>Row 1, Col 3</td>
37 </tr>
38 </table>
39 <table cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; border: none">
40 <tr>
41 <td>Row 22, Col 1</td>
42 <td>Row 22, Col 2</td>
43 <td>Row 22, Col 3</td>
44 </tr>
45 </table>
46 <table cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; border: none">
47 <tr>
48 <td>Row 333, Col 1</td>
49 <td>Row 333, Col 2</td>
50 <td>Row 333, Col 3</td>
51 </tr>
52 </table>
53 </div>
54 </div>
55 </body>
56 </html>