1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
6 function removeElement() {
7 document.getElementById("h3").parentNode.removeChild(document.getElementById("h3"));
11 <script src="../fast/js/resources/js-test-pre.js"></script>
15 <A href="#" tabindex=0 id="link">
16 <h3 id="h3">asdfasdf</h3>
17 <img src="asdf.gif" width=100 height=100>
22 <p id="description"></p>
23 <div id="console"></div>
27 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.");
29 if (window.accessibilityController) {
31 document.getElementById("link").focus();
32 var link = accessibilityController.focusedElement;
33 link.attributesOfChildren();
37 // should not cause a crash...
38 link.attributesOfChildren();
43 <script src="../fast/js/resources/js-test-post.js"></script>