mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 02:37: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
19
layout/base/tests/bug644428-1.html
Normal file
19
layout/base/tests/bug644428-1.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
</head>
|
||||
<body onload="setupCaret()" spellcheck="false">
|
||||
<div contenteditable>a<span>b</span>c </div>
|
||||
<script>
|
||||
function setupCaret() {
|
||||
var div = document.querySelector("div");
|
||||
div.focus();
|
||||
var sel = window.getSelection();
|
||||
sel.collapse(div, 3);
|
||||
synthesizeKey("VK_BACK_SPACE", {});
|
||||
synthesizeKey("VK_BACK_SPACE", {});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue