layout/base/tests/bug106855-1.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE HTML><html><head>
     2   <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     3 </head>
     4 <body>
     5 x<br>
     6 <textarea id="t" rows="4" spellcheck="false" style="-moz-appearance: none">
     7 A
    10 </textarea><br>
    11 y
    12 <script>
    13   // Position the caret at the last line
    14   var sel = window.getSelection();
    15   sel.removeAllRanges();
    17   var area = document.getElementById('t');
    18   area.focus();
    20   sendKey('DOWN');  // now after "A"
    21   sendKey('DOWN');  // 
    22   sendKey('DOWN');  // now at the last line
    23 </script>
    24 </body>
    25 </html>

mercurial