blob: 02b5cb8abcccc9c1a494f2be0237004b7d916497 [file] [log] [blame]
if (window.testRunner)
function test()
document.body.innerHTML += "<svg /><mathml /><br>PASS";
<body onload="test()">
Test for <a href=""></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.