summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug612271-ref.html
blob: e1472c8c451bdf9cb5ecefa1b62c7d26d7029491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE HTML><html><head>
  <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
  <script type="text/javascript">
    function loaded() {
      var t = document.querySelector("textarea");
      t.focus();
      t.selectionStart = t.selectionEnd = 4;
    }
  </script>
</head>
<body onload="loaded()">
  <textarea style="height: 200px; display: block; -moz-appearance: none" spellcheck="false"
    >foo
</textarea>
  4 - 4
</body>
</html>