mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
17 lines
No EOL
935 B
HTML
17 lines
No EOL
935 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Basic User Interface Test: Cursor property, PNG</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 monochrome (type 0) PNG image, 1 bit/pixel, is supported as a CSS custom cursor." name="assert" />
|
|
<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>
|
|
</head><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></html> |