WebCore/manual-tests/keyboard-menukey-event.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

<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>