WebCore/manual-tests/keyboard-menukey-event.html
changeset 0 4f2f89ce4247
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/keyboard-menukey-event.html	Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,31 @@
+<html lang="en">
+  <head>
+    <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
+    <title>Menu key testing</title>
+    <script language="javascript" type="text/javascript">
+      function log(str) {
+        var li = document.createElement("li");
+        li.appendChild(document.createTextNode(str));
+        var results = document.getElementById("results");
+        results.appendChild(li);
+      }
+    </script>
+  </head>
+  <body>
+    <p>
+    See bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=30619">30619</a>.
+    Note: this test is only applicable for Linux and Windows.
+    </p>
+    <ol>
+      <li>Click the text input box below and press Menu key.
+          The test passes if you see 'PASS' below.
+        <input type="text" oncontextmenu="log('PASS');" />
+      </li>
+      <li oncontextmenu="log('PASS');">Click or select somewhere
+      in this text and press Menu key.
+      The test passes if you see additional 'PASS' below.
+      </li>
+    </ol>
+    <ul id="results"></ul>
+  </body>
+</html>