servo/tests/wpt/css-tests/css-ui-3_dev/html/cursor-auto-002.htm
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

23 lines
No EOL
969 B
HTML

<!DOCTYPE html>
<html><head><title>CSS Basic User Interface Test: cursor:auto on links</title>
<link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal">
<link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
<meta content="interact" name="flags">
<meta charset="UTF-8">
<meta content="The 'auto' cursor value does the same as 'text' over text. Links are not special." name="assert">
<style>
a {
cursor: url("support/cursors/fail.png"), help; /* Override UA styles, regardless of specificity */
cursor: auto !important; /* Override UA styles, regardless of specificity */
color: blue;
text-decoration: none; /* Having the link not standout as being a link, to avoid distracting the tester */
}
p {
cursor: text;
}
</style>
</head><body>
<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>
<a href="#">Lorem ipsum</a>
</body></html>