summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/selectall-selection-modify-move-forward-lineboundary-selectall-around-editable-canvas.html
blob: 8e57700af5f9c30fe93186a18408538f11bf6bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<meta charset="utf-8">
<script>
onload = () => {
  document.querySelector("canvas[contenteditable]").blur();
  document.execCommand("selectAll", false);
  getSelection().modify("move", "forward", "lineboundary");
  document.execCommand("selectAll", false);
};
</script>
<canvas contenteditable="true">
<audio controls>