diff options
Diffstat (limited to 'dom/base/crashtests/1623918.html')
-rw-r--r-- | dom/base/crashtests/1623918.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/base/crashtests/1623918.html b/dom/base/crashtests/1623918.html new file mode 100644 index 0000000000..0c991acbbc --- /dev/null +++ b/dom/base/crashtests/1623918.html @@ -0,0 +1,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> |