table-visual-layout-015

A cell cannot extend beyond the last row box of a table

WeasyPrint

This browser

Assertion
A cell box cannot extend beyond the last row box of a table.

Source

 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: A cell cannot extend beyond the last row box of a table</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#table-layout">
 7         <meta name="flags" content="">
 8         <meta name="assert" content="A cell box cannot extend beyond the last row box of a table.">
 9         <style type="text/css">
10             table
11             {
12                 border-collapse: collapse;
13             }
14             td
15             {
16                 background: black;
17                 height: 100px;
18                 width: 100px;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if there is a square below.</p>
24         <table>
25             <tr>
26                 <td></td>
27                 <td></td>
28             </tr>
29             <tr>
30                 <td rowspan="3"></td>
31                 <td></td>
32             </tr>
33         </table>
34     </body>
35 </html>