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

17 строки
416 B
HTML

<!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>