OLD | NEW |
1 <script> | 1 <script> |
2 if (window.layoutTestController) | 2 if (window.layoutTestController) |
3 layoutTestController.dumpAsText(); | 3 layoutTestController.dumpAsText(); |
4 | 4 |
5 function test() | 5 function test() |
6 { | 6 { |
7 document.body.innerHTML += "<svg /><mathml /><br>PASS"; | 7 document.body.innerHTML += "<svg /><mathml /><br>PASS"; |
8 } | 8 } |
9 </script> | 9 </script> |
10 <body onload="test()"> | 10 <body onload="test()"> |
11 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=55955">https://bugs.we
bkit.org/show_bug.cgi?id=55955</a>. Verify that WebKit does not ASSERT when a se
lf-closing svg or mathml root element is followed by non-foreign HTML content. I
n the fragment case, this ASSERT indicated that the parser's insertion mode was
incorrectly in InForeignContentMode even though the svg or mathml root element w
as self-closing and not placed on the open elements stack. | 11 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=55955">https://bugs.we
bkit.org/show_bug.cgi?id=55955</a>. Verify that WebKit does not ASSERT when a se
lf-closing svg or mathml root element is followed by non-foreign HTML content. I
n the fragment case, this ASSERT indicated that the parser's insertion mode was
incorrectly in InForeignContentMode even though the svg or mathml root element w
as self-closing and not placed on the open elements stack. |
OLD | NEW |