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>
|
2017-05-21 12:15:00 +03:00
|
|
|
<textarea id="t" rows="4" style="-moz-appearance: none"></textarea>
|
2010-09-02 02:06:52 +04:00
|
|
|
<script>
|
|
|
|
var area = document.getElementById('t');
|
|
|
|
area.focus();
|
|
|
|
|
2014-02-15 04:57:39 +04:00
|
|
|
sendKey('RETURN'); // press Enter twice
|
|
|
|
sendKey('RETURN');
|
2011-12-16 17:38:45 +04:00
|
|
|
sendKey('BACK_SPACE'); // press Backspace once
|
2010-09-02 02:06:52 +04:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|