summaryrefslogtreecommitdiff
path: root/layout/base/tests/bug1132768-1-ref.html
blob: 0fea14cf0adff34760ad28372d61f81765177cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
  <script>
    function test() {
      focus();
      getSelection().selectAllChildren(document.querySelector("span"));
    }
  </script>
  <body onload="test()">
    <div>foo<span>bar</span>baz</div>
  </body>
</html>