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

17 lines
No EOL
803 B
HTML

<!DOCTYPE html>
<html><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" name="flags">
<meta content="Test checks that an interlaced black and white PNG image cursor is supported." name="assert">
<style>
.test{background: #AAA; border: 2px solid #555;
cursor:url(support/PTS/basi0g08.png), help; width :128px; height: 64px}
.test:before {content: url(support/PTS/basi0g08.png)
</style>
</head><body>
<p>The test passes if, when moved inside the grey rectangle, the cursor looks like the reference image.</p>
<p class="test"> </p>
<p>Local interlaced monochrome (type 0) PNG image, 8 bit/pixel.
</p></body></html>