summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/delete-after-justifyleft-in-closed-editable-dialog.html
blob: 185cb01ee51dbf91717887f51ad82812690e0e90 (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>
addEventListener("load", () => {
  const dialog = document.querySelector("dialog");
  dialog.showModal();
  dialog.close();
  document.execCommand("justifyLeft");
  document.execCommand("delete");
});
</script>
</head>
<body><dialog contenteditable>
</dialog></body>
</html>