summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/delete-after-empty-script-element.html
blob: c06a4af8026aaaa946d694c57a4558806d97ddb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
A
<script>
addEventListener("load", () => {
  document.documentElement.contentEditable = true;
  getSelection().collapse(document.body.lastChild, document.body.lastChild.length);
  document.execCommand("delete");
});
</script>
<li>
<form readonly contenteditable>
</form>
<script>
</script></li></body></html>