table-layer-transparency-008

Background on a row elements shows on all of a cell spanning through it

WeasyPrint

This browser

Flags
96dpi, image
Assertion
A background set on a row element will show on all of a cell that spans outside of it, but it will not affect background image positioning.

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: Background on a row elements shows on all of a cell spanning through it</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-layers">
 7         <meta name="flags" content="96dpi image">
 8         <meta name="assert" content="A background set on a row element will show on all of a cell that spans outside of it, but it will not affect background image positioning.">
 9         <style type="text/css">
10             table
11             {
12                 border-collapse: collapse;
13             }
14             #blue
15             {
16                 background-image: url("support/bar_with_corner_dot.png");
17             }
18             td
19             {
20                 height: 50px;
21                 padding: 0;
22                 width: 50px;
23             }
24         </style>
25     </head>
26     <body>
27         <p>Test passes if there is a blue 'T' with three light blue dots on its top edge below.</p>
28         <table>
29             <tr id="blue">
30                 <td></td>
31                 <td rowspan="3"></td>
32                 <td></td>
33             </tr>
34             <tr>
35                 <td></td>
36                 <td></td>
37             </tr>
38             <tr>
39                 <td></td>
40                 <td></td>
41             </tr>
42         </table>
43     </body>
44 </html>