summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/remve-documentElement-after-inserthtml-svg-and-td.html
blob: eebeac317da782b8738c4ad5ee45390f66f1b35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener("load", () => {
  document.querySelector("div[contenteditable]").focus();
  document.execCommand("inserthtml", false, "<svg><td>");
  document.documentElement.remove();
});
</script>
</head>

<body><div contenteditable></div></body>
</html>