https://github.com/mozilla/gecko-dev
Revision d4d07f3efb70d0893e37bd66ca6f6ae3701baabc authored by Nick Thomas on 21 March 2016, 00:11:56 UTC, committed by Nick Thomas on 21 March 2016, 00:11:56 UTC
--HG--
branch : GECKO4502esr_2016041116_RELBRANCH
extra : source : ddc16d5813a398c433b25447dd9cfb8c5b51b0c0
1 parent e147f3e
Raw File
Tip revision: d4d07f3efb70d0893e37bd66ca6f6ae3701baabc authored by Nick Thomas on 21 March 2016, 00:11:56 UTC
Bug 1254784 - Add 45.0esr win64 support to bouncer, r=rail, a=NPOTB
Tip revision: d4d07f3
824080-5.html
<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript">
    function doTest()
    {
      var editor1 = document.getElementById("editor1");
      editor1.focus();
      editor1.blur();
      document.getSelection().selectAllChildren(document.body);
      var editor2 = document.getElementById("editor2");
      var editorBody = editor2.contentDocument.body;
      editor2.contentDocument.getSelection().selectAllChildren(editorBody);
      editor2.focus();
    }
  </script>
</head>
<body>
<p>normal text</p>
<div id="editor1" contenteditable>content editable</div>
<iframe id="editor2" onload="doTest();"
  src="data:text/html,<script>document.designMode='on';</script><body>editable text</body>"></iframe>
</body>
</html>

back to top