summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/bold-in-output.html
blob: 43d78ec4e99289056c1d575f30695b1143d8181e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
* { font-weight: bolder }
</style>
<script>
document.addEventListener("DOMContentLoaded", () => {
  document.querySelector("output").focus();
  document.execCommand("selectAll");
  document.execCommand("bold");
})
</script>
</head>
<body>
<output contenteditable="true">
A
</output></body>
</html>