| <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> |