cursor-auto-002

cursor:auto on links

WeasyPrint

This browser

Flags
interact
Assertion
The 'auto' cursor value does the same as 'text' over text. Links are not special.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: cursor:auto on links</title>
 3 <link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal">
 4 <link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
 5 <meta content="interact" name="flags">
 6 <meta charset="UTF-8">
 7 <meta content="The 'auto' cursor value does the same as 'text' over text. Links are not special." name="assert">
 8 <style>
 9 a {
10   cursor: url("support/cursors/fail.png"), help; /* Override UA styles, regardless of specificity */
11   cursor: auto !important; /* Override UA styles, regardless of specificity */
12   color: blue;
13   text-decoration: none; /* Having the link not standout as being a link, to avoid distracting the tester */
14 }
15 p {
16   cursor: text;
17 }
18 </style>
19 </head><body>
20   <p>The test passes if, when moved over the blue text, the cursor indicates text that may be selected, like it does when placed over this sentence.</p>
21   <a href="#">Lorem ipsum</a>
22 
23 </body></html>