Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / self-closing-foreign-content.html
blob02b5cb8abcccc9c1a494f2be0237004b7d916497
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
5 function test()
7 document.body.innerHTML += "<svg /><mathml /><br>PASS";
9 </script>
10 <body onload="test()">
11 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.