cursor-019.xht (1185B)
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 set to 'inherit'</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="Cursor 'inherit' results in the same cursor value as the parent element has." /> 10 <style type="text/css"> 11 div 12 { 13 cursor: text; 14 } 15 div div 16 { 17 border: 2px solid blue; 18 cursor: inherit; 19 } 20 #div1 21 { 22 cursor: pointer; 23 } 24 </style> 25 </head> 26 <body> 27 <p>Test passes if the cursor changes to a pointer cursor when mouse is over the following text.</p> 28 <div id="div1"> 29 <div>Filler Text</div> 30 </div> 31 </body> 32 </html>