list-style-applies-to-006.xht (1501B)
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: List-style applied to elements with 'display' set to 'table-column'</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" /> 8 <meta name="assert" content="The 'list-style' property applies to elements with 'display' set to 'table-column'." /> 9 <style type="text/css"> 10 #test 11 { 12 display: table-column; 13 list-style: square; 14 } 15 #table 16 { 17 display: table; 18 margin-left: 1in; 19 } 20 #row 21 { 22 display: table-row; 23 } 24 #cell 25 { 26 display: table-cell; 27 } 28 #cell div 29 { 30 display: list-item; 31 } 32 </style> 33 </head> 34 <body> 35 <p>Test passes if there is a single round dot below.</p> 36 <div id="table"> 37 <div id="test"></div> 38 <div id="row"> 39 <div id="cell"> 40 <div></div> 41 </div> 42 </div> 43 </div> 44 </body> 45 </html>