summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug597519-1.html
blob: 2fcddce515243ec6c2cb0ed5b124a13c24da28e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML><html><head>
  <script src="/tests/SimpleTest/EventUtils.js"></script>
</head>
<body>
<textarea maxlength="3" spellcheck="false" style="-moz-appearance: none"></textarea>
<script>
  var t = document.querySelector("textarea");
  t.focus();

  sendString("ab");
  synthesizeKey("KEY_Enter");
  sendString("c");
</script>
</body>
</html>