blob: 02b5cb8abcccc9c1a494f2be0237004b7d916497 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test()
{
document.body.innerHTML += "<svg /><mathml /><br>PASS";
}
</script>
<body onload="test()">
Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=55955">https://bugs.webkit.org/show_bug.cgi?id=55955</a>. Verify that WebKit does not ASSERT when a self-closing svg or mathml root element is followed by non-foreign HTML content. In the fragment case, this ASSERT indicated that the parser's insertion mode was incorrectly in InForeignContentMode even though the svg or mathml root element was self-closing and not placed on the open elements stack.