cursor-applies-to-003.xht (1561B)
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: Cursor applied to element with 'display' set to 'table-footer-group'</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#propdef-cursor" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#cursor-props" /> 8 <meta name="flags" content="interact" /> 9 <meta name="assert" content="The 'cursor' property applies to elements with a display of table-footer-group." /> 10 <style type="text/css"> 11 #test 12 { 13 display: table-footer-group; 14 background-color: blue; 15 cursor: pointer; 16 } 17 #row 18 { 19 display: table-row; 20 } 21 #table 22 { 23 display: table; 24 table-layout: fixed; 25 } 26 #cell 27 { 28 display: table-cell; 29 height: 1in; 30 width: 1in; 31 } 32 </style> 33 </head> 34 <body> 35 <p>Test passes if the cursor changes to a pointer cursor when it is over the blue area.</p> 36 <div id="table"> 37 <div id="test"> 38 <div id="row"> 39 <div id="cell"></div> 40 </div> 41 </div> 42 </div> 43 </body> 44 </html>