mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57: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
21
editor/reftests/824080-3.html
Normal file
21
editor/reftests/824080-3.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
function doTest()
|
||||
{
|
||||
document.getSelection().selectAllChildren(document.getElementById("text"));
|
||||
var editor = document.getElementById("editor");
|
||||
var editorBody = editor.contentDocument.body;
|
||||
editor.contentDocument.getSelection().selectAllChildren(editorBody);
|
||||
editor.focus();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p id="text">normal text</p>
|
||||
<iframe id="editor" onload="doTest();"
|
||||
src="data:text/html,<script>document.designMode='on';</script><body>editable text</body>"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue