summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/selection-modify-extend-backward-character-to-outside-body-in-designMode.html
blob: 9f465cc462115d32bf6a29dac9df967957caad81 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<meta charset="utf-8">
<script>
onload = () => {
  document.designMode = 'on';
  getSelection().selectAllChildren(document.body);
  getSelection().modify('extend', 'backward', 'character');
};
</script>
<audio controls>