diff options
Diffstat (limited to 'WebCore/manual-tests')
-rw-r--r-- | WebCore/manual-tests/cur-hotspot.html | 12 | ||||
-rw-r--r-- | WebCore/manual-tests/localstorage-empty-database.html | 13 | ||||
-rw-r--r-- | WebCore/manual-tests/resources/cur-hotspot.cur | bin | 0 -> 4286 bytes |
3 files changed, 25 insertions, 0 deletions
diff --git a/WebCore/manual-tests/cur-hotspot.html b/WebCore/manual-tests/cur-hotspot.html new file mode 100644 index 0000000..f1cfb54 --- /dev/null +++ b/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>
diff --git a/WebCore/manual-tests/localstorage-empty-database.html b/WebCore/manual-tests/localstorage-empty-database.html new file mode 100644 index 0000000..a164127 --- /dev/null +++ b/WebCore/manual-tests/localstorage-empty-database.html @@ -0,0 +1,13 @@ +<html> +<body> +<script type="text/javascript"> + var x = localStorage.getItem('foo'); +</script> +<p>This page has called <code>localStorage.getItem('foo')</code>. +Since no data has been stored, no database file should have been created.</p> + +<p>If you click <a href="javascript:localStorage.setItem('bar', 'baz');">here</a>, data will be stored, and a database file should be created.</p> + +<p>(This is for <a href="https://bugs.webkit.org/show_bug.cgi?id=40301">https://bugs.webkit.org/show_bug.cgi?id=40301</a>.)</p> +</body> +</html> diff --git a/WebCore/manual-tests/resources/cur-hotspot.cur b/WebCore/manual-tests/resources/cur-hotspot.cur Binary files differnew file mode 100644 index 0000000..8107e47 --- /dev/null +++ b/WebCore/manual-tests/resources/cur-hotspot.cur |