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

20 lines
No EOL
942 B
HTML

<!DOCTYPE html>
<html><head><title>CSS Basic User Interface Test: Cursor property, url value</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 a GIF image with transparency is supported as a custom cursor." name="assert">
<style>
div.test{background: #D2B48C; border: 2px solid #555;
cursor:url(support/cursors/tp1n3p08.gif), help;
width: 128px; height: 128px}
</style>
</head><body>
<p>The test passes if, when moved inside the colored rectangle, the cursor looks like
a gray cube AND is not a gray cube when outside.</p>
<p>If inside the rectangle the cursor does not change, or looks like a help cursor, the test fails.</p>
<p>White haloing around the cursor is acceptable in this test.</p>
<div class="test"> </div>
</body></html>