blob: 0a99ad2c3b0c6397b254be53459b672755da7d4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<title>CSS Basic User Interface Test: Cursor property, PNG</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor">
<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>
|