2011-07-05 09:42:28 +04:00
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
|
|
|
</head>
|
|
|
|
<body onload="start()">
|
2014-02-01 20:54:13 +04:00
|
|
|
<textarea dir="rtl" onfocus="done()" spellcheck="false" style="-moz-appearance: none">ab
|
2011-07-05 09:42:28 +04:00
|
|
|
c</textarea>
|
|
|
|
<script>
|
|
|
|
var textarea = document.querySelector("textarea");
|
|
|
|
function start() {
|
|
|
|
textarea.focus();
|
|
|
|
}
|
|
|
|
function done() {
|
|
|
|
synthesizeKey("VK_RIGHT", {});
|
|
|
|
synthesizeKey("VK_RIGHT", {});
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|