summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/justifycenter-around-textarea.html
blob: 71d24f37b45303f938029bd13469b68f22fa38fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<script>
function go() {
  a.replaceWith(undefined)
  window.getSelection().modify("move", "right", "word")
  document.execCommand("justifyCenter", false)
}
</script>
<div contenteditable="true">a</div>
<textarea>23</textarea>
<li dir="RTL">
<strong id="a">
<svg onload="go()">