summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/delete-in-block-in-progress.html
blob: 233b834ab03ca7da9228fc3e293f91e5429a7e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
document.addEventListener("DOMContentLoaded", () => {
  document.querySelector("mo").appendChild(document.querySelector("dialog"));
  getSelection().collapse(document.querySelector("template"), 0);
  document.execCommand("delete");
}, {once:true});
</script>
<body>
<dialog>
<template>
</template>
</dialog>
<dl contenteditable>
<li>
<b><progress>
<mo>a</mo>
</progress></b>
</li>
</dl>
</body>
</html>