Revision e5449210b958ed555efab0ae0ecc9f2066bf1540 authored by B2G Bumper Bot on 17 March 2014, 06:51:03 UTC, committed by B2G Bumper Bot on 17 March 2014, 06:51:03 UTC
1 parent acbbec1
Raw File
824080-1-ref.html
<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript">
    function doTest()
    {
      var editor = document.getElementById("editor");
      document.getSelection().selectAllChildren(document.body);
    }
  </script>
</head>
<body onload="doTest();">
<p>normal text</p>
<div id="editor">editable text</div>
</body>
</html>

back to top