summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/move-editing-host-to-subdocument-when-textarea-has-focus.html
blob: b7d2e2f90270f96e063c1871d8b3e9cdec328bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
addEventListener("DOMContentLoaded", () => {
  document.querySelector("iframe").contentDocument.body.appendChild(
    document.querySelector("span")
  );
  document.documentElement.style.display = "none";
})
</script>
<hgroup>
<audio controls>
</audio>
<iframe></iframe>
<span contenteditable></span>
</hgroup>
<textarea autofocus>