cursor-002

Cursor set to 'auto'

WeasyPrint

This browser

Flags
interact
Assertion
Cursor 'auto' results in a cursor that is determined by the user agent according to the context.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3     <head>
 4         <title>CSS Test: Cursor set to 'auto'</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 'auto' results in a cursor that is determined by the user agent according to the context.">
10         <style type="text/css">
11             #test
12             {
13                 border: solid 2px blue;
14                 cursor: auto;
15                 height: 100px;
16                 width: 500px;
17             }
18             #reference
19             {
20                 border: solid 2px blue;
21                 height: 100px;
22                 margin-top: 50px;
23                 width: 500px;
24             }
25         </style>
26     </head>
27     <body>
28         <p>Test passes if the cursor is the same when it is over "Filler Text" and when it is over "Reference Text" below.</p>
29         <div id="test">Filler Text</div>
30         <div id="reference">Reference Text</div>
31     </body>
32 </html>