| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| function removeElement() { |
| document.getElementById("h3").parentNode.removeChild(document.getElementById("h3")); |
| <script src="../fast/js/resources/js-test-pre.js"></script> |
| <A href="#" tabindex=0 id="link"> |
| <h3 id="h3">asdfasdf</h3> |
| <img src="asdf.gif" width=100 height=100> |
| description("When you have elements that are continuations, and one of those elements is removed, the parent chain is not being updated accordingly. This can cause a crash."); |
| if (window.accessibilityController) { |
| document.getElementById("link").focus(); |
| var link = accessibilityController.focusedElement; |
| link.attributesOfChildren(); |
| // should not cause a crash... |
| link.attributesOfChildren(); |
| <script src="../fast/js/resources/js-test-post.js"></script> |