summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/cur-hotspot.html
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/manual-tests/cur-hotspot.html')
-rw-r--r--Source/WebCore/manual-tests/cur-hotspot.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/cur-hotspot.html b/Source/WebCore/manual-tests/cur-hotspot.html
new file mode 100644
index 0000000..f1cfb54
--- /dev/null
+++ b/Source/WebCore/manual-tests/cur-hotspot.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>
+ <p>Test for .cur cursor intrinsic hot spot behavior. See <a href="https://bugs.webkit.org/show_bug.cgi?id=15779">bug 15779</a>.</p>
+ <div style="background:turquoise;cursor:url(resources/cur-hotspot.cur), auto; width:200px; height:200px; position:absolute; top:100px; left: 50px;">Mouse cursor should be upside down inside this box.</div>
+
+ <div style="background:turquoise;cursor:url(resources/cur-hotspot.cur) 200 200, auto; width:200px; height:200px; position:absolute; top:100px; left: 300px;">Mouse cursor should be upside down inside this box.</div>
+
+ <div style="background:turquoise;cursor:url(resources/cur-hotspot.cur) 0 0, auto; width:200px; height:200px; position:absolute; top:350px; left: 50px;">Mouse cursor should flip erratically, due to incorrect hot spot forced in CSS.</div>
+
+</body>
+</html>