layout/base/tests/bug664087-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/tests/bug664087-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<html class="reftest-wait">
     1.5 +  <head>
     1.6 +    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     1.7 +    <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     1.8 +  </head>
     1.9 +  <body onload="start()">
    1.10 +    <textarea dir="rtl" onfocus="typeIntoMe()" spellcheck="false" style="-moz-appearance: none"></textarea>
    1.11 +    <script>
    1.12 +      function start() {
    1.13 +        document.querySelector("textarea").focus();
    1.14 +      }
    1.15 +      function typeIntoMe() {
    1.16 +        setTimeout(function() {
    1.17 +          synthesizeKey("a", {});
    1.18 +          synthesizeKey("VK_RETURN", {});
    1.19 +          synthesizeKey("c", {});
    1.20 +          synthesizeKey("VK_UP", {});
    1.21 +          synthesizeKey("VK_END", {});
    1.22 +          synthesizeKey("b", {});
    1.23 +          document.documentElement.removeAttribute("class");
    1.24 +        }, 0);
    1.25 +      }
    1.26 +    </script>
    1.27 +  </body>
    1.28 +</html>

mercurial