2011-04-08 11:35:49 +04:00
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
2011-06-29 22:22:39 +04:00
|
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
2011-04-08 11:35:49 +04:00
|
|
|
</head>
|
|
|
|
<body onload="start()">
|
|
|
|
<textarea onfocus="typeIntoMe()"></textarea>
|
|
|
|
<script>
|
|
|
|
function start() {
|
|
|
|
document.querySelector("textarea").focus();
|
|
|
|
}
|
|
|
|
function typeIntoMe() {
|
|
|
|
setTimeout(function() {
|
|
|
|
synthesizeKey("س", {});
|
2011-07-05 09:42:28 +04:00
|
|
|
synthesizeKey("VK_DOWN", {});
|
|
|
|
synthesizeKey("VK_DOWN", {});
|
2011-04-08 11:35:49 +04:00
|
|
|
document.documentElement.removeAttribute("class");
|
|
|
|
}, 0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|