summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug597519-1.html
blob: a33084f153d635a89872b85554f7df5b5d91c024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML><html><head>
  <script type="text/javascript" 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();

  synthesizeKey("a", {});
  synthesizeKey("b", {});
  synthesizeKey("VK_RETURN", {});
  synthesizeKey("c", {});
</script>
</body>
</html>