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: Spanning cell that intersects a 'visibility: collapse' row</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#dynamic-effects">
7 <meta name="flags" content="ahem">
8 <meta name="assert" content="Contents of a spanned cell which intersect with a collapsed row are clipped.">
9 <style type="text/css">
10 table
11 {
12 font: 128px/1 Ahem;
13 }
14 tr#collapsed-row
15 {
16 visibility: collapse;
17 }
18 td
19 {
20 color: green;
21 height: 1em;
22 padding: 0;
23 width: 1em;
24 }
25 .row-intersection
26 {
27 color: red;
28 }
29 </style>
30 </head>
31 <body>
32 <p>Test passes if there is a green square below and there is no red visible on the page.</p>
33 <table>
34 <col>
35 <col>
36 <col>
37 <tr>
38 <td></td>
39 <td rowspan="2">P <span class="row-intersection">F</span></td>
40 <td></td>
41 </tr>
42 <tr id="collapsed-row">
43 <td></td>
44 <td></td>
45 </tr>
46 </table>
47 </body>
48 </html>