layout/base/tests/bug664087-2-ref.html
author Carsten "Tomcat" Book <cbook@mozilla.com>
Fri, 24 Mar 2017 14:24:21 +0100
changeset 349471 4c987b7ed54a630a7de76adcc2eb00dab49d5dfd
parent 349414 e389879425a71bf4c0db797550005cd4438de3b7
child 359892 bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
permissions -rw-r--r--
merge mozilla-inbound to mozilla-central a=merge

<html class="reftest-wait">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
  </head>
  <body onload="start()">
    <textarea dir="rtl" onfocus="done()" spellcheck="false" style="-moz-appearance: none; appearance: none">ab
c</textarea>
    <script>
      var textarea = document.querySelector("textarea");
      function start() {
        textarea.focus();
      }
      function done() {
        synthesizeKey("VK_RIGHT", {});
        synthesizeKey("VK_RIGHT", {});
        document.documentElement.removeAttribute("class");
      }
    </script>
  </body>
</html>