summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests')
-rw-r--r--WebCore/manual-tests/css3-background-layer-count.html38
-rw-r--r--WebCore/manual-tests/win/contextmenu-key2.html13
2 files changed, 51 insertions, 0 deletions
diff --git a/WebCore/manual-tests/css3-background-layer-count.html b/WebCore/manual-tests/css3-background-layer-count.html
new file mode 100644
index 0000000..fc21fd7
--- /dev/null
+++ b/WebCore/manual-tests/css3-background-layer-count.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS Test: Number of background properties greater than number of background images</title>
+ <style type="text/css">
+ div
+ {
+ margin: 10px;
+ width: 250px;
+ height: 250px;
+ border: thick solid black;
+ }
+ #test
+ {
+ background-image: url("resources/non-animated.gif"), url("resources/non-animated.gif"), url("resources/non-animated.gif");
+ background-position: right bottom, right top, left bottom, left center, right center;
+ background-repeat: no-repeat, no-repeat, repeat-x, repeat, repeat-y;
+ }
+ #reference
+ {
+ background-image: url("resources/non-animated.gif"), url("resources/non-animated.gif"), url("resources/non-animated.gif");
+ background-position: right bottom, right top, left bottom;
+ background-repeat: no-repeat, no-repeat, repeat-x;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the contents of the black boxes look exactly the same.</p>
+ <table>
+ <td>
+ <div id="test"></div>
+ </td>
+ <td>
+ <div id="reference"></div>
+ </td>
+ </table>
+ </body>
+</html>
diff --git a/WebCore/manual-tests/win/contextmenu-key2.html b/WebCore/manual-tests/win/contextmenu-key2.html
new file mode 100644
index 0000000..2833e58
--- /dev/null
+++ b/WebCore/manual-tests/win/contextmenu-key2.html
@@ -0,0 +1,13 @@
+<div oncontextmenu="contextmenu(event)">
+Select some text in the contenteditable below and press the context menu key
+(or shift+F10). The browser should not crash.
+<div contenteditable id="a">
+<p>|content editable|</p>
+</div>
+After content editable.
+</div>
+<script>
+function contextmenu(event) {
+ document.getElementById("a").style.visibility = "hidden";
+}
+</script>