text-decoration-applies-to-013.xht (1353B)
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: Text-decoration application on a table-column element</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-text-decoration" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#lining-striking-props" /> 8 <meta name="assert" content="The 'text-decoration' property does not apply to a table-column element" /> 9 <style type="text/css"> 10 #table 11 { 12 display: table; 13 } 14 #test 15 { 16 display: table-column; 17 text-decoration: underline; 18 } 19 #row 20 { 21 display: table-row; 22 } 23 #cell 24 { 25 display: table-cell; 26 } 27 </style> 28 </head> 29 <body> 30 <p>Test passes if the "Filler Text" below does not have a line under it.</p> 31 <div id="table"> 32 <div id="test"></div> 33 <div id="row"> 34 <div id="cell">Filler Text</div> 35 </div> 36 </div> 37 </body> 38 </html>