empty-cells-006.xht (796B)
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: CSS table model: empty-cells: white-space pre</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/table/empty-cells/003.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#empty-cells" /> 8 <style type="text/css"> 9 table { background: red; border-spacing: 0; } 10 td { empty-cells: hide; background: green; color: white; white-space: pre; } 11 </style> 12 </head> 13 <body> 14 <p>There should be a green block below.</p> 15 <table><tr><td> </td></tr></table> 16 </body> 17 </html>