gecko/layout/base/tests/bug597519-1.html

18 lines
435 B
HTML

<!DOCTYPE HTML><html><head>
<script type="text/javascript" src="/MochiKit/packed.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
</head>
<body>
<textarea maxlength="3"></textarea>
<script>
var t = document.querySelector("textarea");
t.focus();
synthesizeKey("a", {});
synthesizeKey("b", {});
synthesizeKey("VK_ENTER", {});
synthesizeKey("c", {});
</script>
</body>
</html>