summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1623918.html
blob: 0c991acbbc0215c8f480713354b738cdd91f38f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head>
    <script>
      window.addEventListener('load', () => {
        const anchor = document.getElementById('id_7')
        anchor.contentEditable = 'true'
        anchor.spellcheck = false
        const input = document.createElementNS('http://www.w3.org/1999/xhtml', 'input')
        anchor.appendChild(input)
        const selection = self.getSelection()
        selection.selectAllChildren(input)
      })
    </script>
</head>
<a id='id_7'></a>
</html>