2010-09-02 02:06:52 +04:00
|
|
|
<!DOCTYPE HTML><html><head>
|
2011-06-29 22:22:39 +04:00
|
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
2010-09-02 02:06:52 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<textarea id="t" rows="4"></textarea>
|
|
|
|
<script>
|
|
|
|
var area = document.getElementById('t');
|
|
|
|
area.focus();
|
|
|
|
|
2010-10-06 03:17:21 +04:00
|
|
|
sendKey('ENTER', "t"); // press Enter twice
|
|
|
|
sendKey('ENTER', "t");
|
|
|
|
sendKey('BACK_SPACE', "t"); // press Backspace once
|
2010-09-02 02:06:52 +04:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|