Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>CSS Basic User Interface Test: Cursor property, PNG</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="interact image">
<meta charset="UTF-8">
<meta name="assert" content="Test checks that a monochrome (type 0) PNG image, 1 bit/pixel, is supported as a CSS custom cursor.">
<style>
div.test{background: #AAA; border: 2px solid #555;
cursor:url(support/PTS/basn0g01.png), help; width: 128px; height: 64px}
div.test:before {content: url(support/PTS/basn0g01.png)
</style>
<body>
<p>The test passes if, when moved inside the grey rectangle, the cursor looks like the reference image.</p>
<div class="test"> </div>
</body>