https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 67fd0f044a51ea8bf3c0946e040536a243009d05 authored by Mike Pennisi on 30 November 2018, 00:53:13 UTC
Trigger duplicate collection
Tip revision: 67fd0f0
cursor-image-png-004.html
<!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">
<meta name="assert" content="Test checks that a black and white PNG image cursor is supported.">
<style>
	.test{background: #AAA; border: 2px solid #555;
	cursor:url(support/PTS/basn0g08.png), help; width :128px; height: 64px}
	.test:before {content: url(support/PTS/basn0g08.png)
</style>
<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 monochrome (type 0) PNG image, 8 bit/pixel.
</body>
back to top