aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-03-27 09:18:12 +0000
committerJames Graham <james@hoppipolla.co.uk>2015-04-03 23:29:19 +0100
commit2c9faf5363be229498578bdeca55c0c52730f0fa (patch)
treee070d5d12a587f1e1939410b2cd88450543d7534 /tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm
parent1a81b18b9f22d7bc1a967d08fcc7fbcf2ee200f5 (diff)
downloadservo-2c9faf5363be229498578bdeca55c0c52730f0fa.tar.gz
servo-2c9faf5363be229498578bdeca55c0c52730f0fa.zip
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
Diffstat (limited to 'tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm')
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm b/tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm
new file mode 100644
index 00000000000..22cadf16c55
--- /dev/null
+++ b/tests/wpt/css-tests/css-ui-3_dev/html/cursor-image-png-037.htm
@@ -0,0 +1,17 @@
+<!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 indexed PNG image cursor with transparency is supported." name="assert">
+<style>
+ .test{background: #ffe5b4; border: 2px solid #555;
+ cursor:url(support/PTS/tm3n3p02.png), help; width :128px; height: 64px}
+ .test:before {content: url(support/PTS/tm3n3p02.png)
+</style>
+</head><body>
+ <p>The test passes if, when moved inside the peach rectangle, the cursor looks like the reference image.</p>
+
+ <p class="test"> </p>
+ <p>indexed PNG image, with multiple levels of transparency (tRNS), 8 bit/pixel.
+</p></body></html> \ No newline at end of file