| <!-- |
| @WAIT-FOR:Done |
| |
| This is a regression test for a bug that caused a crash when an |
| inline node was reparented. The actual test output is not |
| interesting, all that matters is that it correctly waits for |
| "Done" to appear in the accessibility tree and doesn't generate |
| an invalid tree update in the process. |
| --> |
| |
| <img id="cl"></img> |
| <li aria-label="@NO_CHILDREN_DUMP"> |
| <div id="aw"><pre id="d3"><object id="b" aria-hidden=true></object></pre></div> |
| </li> |
| <object id="z"><div id="b5"></div> <option></option></object> |
| <div id="s">Status</div> |
| |
| <script> |
| $ = document.querySelector.bind(document); |
| $('#d3').appendChild($('#z')); |
| $('#b').offsetTop; |
| setInterval(function() { |
| $('#z').appendChild($('#cl')); |
| }, 1); |
| $('#z').removeChild($('#b5')); |
| setTimeout(function() { |
| $('#s').innerText = "Done"; |
| }, 10); |
| </script> |