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();
|
|
|
|
|
2011-12-16 17:38:45 +04:00
|
|
|
sendKey('ENTER'); // press Enter twice
|
|
|
|
sendKey('ENTER');
|
|
|
|
sendKey('BACK_SPACE'); // press Backspace once
|
2010-09-02 02:06:52 +04:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|