summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/parser/remove-current-node-parent.html
blob: 41520f218c5acf8c6ac257b5dad31bbec9e3200f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<table>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
var x = document.getElementsByTagName('table')[0];
x.parentNode.removeChild(x);
</script>
<span>At the time of writing, our current behavior ignores content in subtrees removed during parsing.
   However, HTML5 suggests it should not be ignored.
   See: http://www.hixie.ch/tests/adhoc/html/parsing/error-handling/034.html
   and: https://bugs.webkit.org/show_bug.cgi?id=7137</span>
</table><span>SUCCESS (no crash!)</span>