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

17 строки
403 B
HTML

<!DOCTYPE HTML><html><head>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
</head>
<body>
<textarea spellcheck="false" style="-moz-appearance: none"></textarea>
<script>
var t = document.querySelector("textarea");
t.focus();
sendString("a");
synthesizeKey("A", {accelKey: true});
synthesizeKey("KEY_ArrowRight");
sendString("b");
</script>
</body>
</html>