Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /accessibility/crashtests/move-owned-inside-another-owned.html - WPT Dashboard Interop Dashboard
<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>