servo/tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-008.htm

19 lines
No EOL
848 B
HTML

<!DOCTYPE html>
<html><head><title>CSS Basic User Interface Test: Cursor property, url value fallback</title>
<link href="mailto:chris@w3.org" rel="author" title="Chris Lilley">
<link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
<meta content="interact image" name="flags">
<meta charset="UTF-8">
<meta content="Test checks that non-existent images cause the fallback to be used." name="assert">
<style>
div.test{background: #D2B48C; border: 2px solid #555;
cursor:url(support/cursors/does-not-exist.png) 41 32, help;
width: 128px; height: 128px}
</style>
</head><body>
<p>The test passes if, when moved inside the colored rectangle, a help cursor is displayed AND
there is no help cursor when outside.</p>
<p>If inside the rectangle the cursor does not change, the test fails.</p>
<div class="test"> </div>
</body></html>