mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +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
24
layout/base/tests/bug633044-1.html
Normal file
24
layout/base/tests/bug633044-1.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<script>
|
||||
onload = function() {
|
||||
var el;
|
||||
while (el = document.querySelector("br")) {
|
||||
el.parentNode.removeChild(el);
|
||||
}
|
||||
focus();
|
||||
document.body.focus();
|
||||
getSelection().collapse(document.body.firstChild, 0);
|
||||
|
||||
var range = window.getSelection().getRangeAt(0);
|
||||
var el = document.createTextNode(" ");
|
||||
range.insertNode(el);
|
||||
el.parentNode.removeChild(el);
|
||||
|
||||
synthesizeKey("VK_UP", {});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body style="white-space:pre-wrap;" contenteditable></body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue