summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html
blob: babe8dcd1dc77cd8da462d029db7f2d270d4b00a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<script>
window.onload = function() {
  // Reparent z1 under z2.
  const z2 = document.getElementById('z2');
  z2.appendChild(document.querySelector('#z1'));
}
</script>
<div aria-owns="z1 z2">
  <progress>
    <div id="z1"></div>
    <div id="z2"></div>
  </progress>
</div>