summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/delete-in-designMode-without-explicitly-setting-focus.html
blob: 16e1808dc864b4862de46e20800f994dd8d9301f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
document.addEventListener("DOMContentLoaded", () => {
  const dl = document.querySelector("dl");
  dl.textContent = "�";
  document.designMode = "on";
  document.execCommand("delete");
})
</script>
</head>
<del>
    <dl></dl>
</del>
</html>