mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-17 20:57:30 +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
28
layout/base/tests/bug632215-2.html
Normal file
28
layout/base/tests/bug632215-2.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="data:text/html,<body contenteditable spellcheck=false></body>"></iframe>
|
||||
<script>
|
||||
onload = function() {
|
||||
var i = document.querySelector("iframe");
|
||||
var d = i.contentDocument;
|
||||
var w = i.contentWindow;
|
||||
var s = w.getSelection();
|
||||
i.focus();
|
||||
d.body.contentEditable = false;
|
||||
d.designMode = "off";
|
||||
d.designMode = "on";
|
||||
d.body.focus();
|
||||
synthesizeKey("x", {});
|
||||
s.collapse(d.body.firstChild, 1);
|
||||
synthesizeKey("x", {});
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, 0);
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue