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