mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-12 18:27:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
26
layout/base/tests/bug106855-2.html
Normal file
26
layout/base/tests/bug106855-2.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE HTML><html><head>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
x<br>
|
||||
<textarea id="t" rows="4" spellcheck="false" style="-moz-appearance: none">
|
||||
A
|
||||
|
||||
|
||||
</textarea><br>
|
||||
y
|
||||
<script>
|
||||
// Position the caret at the last line
|
||||
var sel = window.getSelection();
|
||||
sel.removeAllRanges();
|
||||
|
||||
var area = document.getElementById('t');
|
||||
area.focus();
|
||||
|
||||
sendKey('DOWN'); // now after "A"
|
||||
sendKey('DOWN'); //
|
||||
sendKey('DOWN'); //
|
||||
sendKey('DOWN'); // now at the last line
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue