1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Subsequent rows in fixed table layout</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#fixed-table-layout">
7 <meta name="flags" content="">
8 <meta name="assert" content="Cells in subsequent rows after the first do not affect column widths in fixed table layout.">
9 <style type="text/css">
10 table
11 {
12 border-spacing: 0;
13 table-layout: fixed;
14 }
15 td
16 {
17 background: blue;
18 color: blue;
19 padding: 0;
20 height: 1em;
21 }
22 #overflow
23 {
24 color: black;
25 overflow: visible;
26 white-space: pre;
27 }
28 #div1
29 {
30 background: black;
31 height: 20px;
32 }
33 table, .row1
34 {
35 width: 100px;
36 }
37 .row2, #div1
38 {
39 width: 200px;
40 }
41 </style>
42 </head>
43 <body>
44 <p>Test passes if the boxes below are the same width and the blue box has the words "Filler Text" on the bottom overflowing to the right.</p>
45 <table>
46 <tr>
47 <td class="row1"></td>
48 <td class="row1"></td>
49 </tr>
50 <tr>
51 <td class="row2"></td>
52 <td class="row2"></td>
53 </tr>
54 <tr>
55 <td></td>
56 <td id="overflow">Filler Text Filler Text Filler Text</td>
57 </tr>
58 </table>
59 <div id="div1"></div>
60 </body>
61 </html>