11 lines
665 B
HTML
11 lines
665 B
HTML
<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. |