layout/base/tests/bug106855-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/tests/bug106855-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!DOCTYPE HTML><html><head>
     1.5 +  <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     1.6 +</head>
     1.7 +<body>
     1.8 +x<br>
     1.9 +<textarea id="t" rows="4" spellcheck="false" style="-moz-appearance: none">
    1.10 +A
    1.11 +
    1.12 +
    1.13 +</textarea><br>
    1.14 +y
    1.15 +<script>
    1.16 +  // Position the caret at the last line
    1.17 +  var sel = window.getSelection();
    1.18 +  sel.removeAllRanges();
    1.19 +
    1.20 +  var area = document.getElementById('t');
    1.21 +  area.focus();
    1.22 +
    1.23 +  sendKey('RIGHT');  // now after "A"
    1.24 +  sendKey('RIGHT');  // 
    1.25 +  sendKey('RIGHT');  // 
    1.26 +  sendKey('RIGHT');  // now at the last line
    1.27 +</script>
    1.28 +
    1.29 +</body>
    1.30 +</html>

mercurial