table-layer-transparency-005.xht (1691B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Background on a column element shows in all of a cell that spans 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 column 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 'L' with a light blue dot in its upper-left corner (and no other blue dots) below.</p> 28 <table> 29 <col id="blue" /> 30 <col /> 31 <col /> 32 <tr> 33 <td></td> 34 <td></td> 35 <td></td> 36 </tr> 37 <tr> 38 <td></td> 39 <td></td> 40 <td></td> 41 </tr> 42 <tr> 43 <td colspan="3"></td> 44 </tr> 45 </table> 46 </body> 47 </html>