Revision d257e549b4793f0461a1898f71d150777f070de6 authored by ffxbld on 15 April 2015, 21:05:18 UTC, committed by ffxbld on 15 April 2015, 21:05:18 UTC
--HG-- branch : GECKO3702_2015041516_RELBRANCH
1 parent a361343
824080-3.html
<!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>
Computing file changes ...