1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 This test is to ensure that we do not crash when clearing floats during SVG load.
4 <div id=
"log"><span style='color: red;'
>FAIL:
</span> Did not complete test
</div>
5 <svg xmlns=
"http://www.w3.org/2000/svg">
7 <text style=
"float:right"></text>
12 if (window.testRunner)
13 testRunner.dumpAsText();
14 var log = document.getElementById(
"log");
15 while (log.childNodes.length)
16 log.removeChild(log.firstChild);
17 var msg = document.createElementNS(
"http://www.w3.org/1999/xhtml",
"span");
18 msg.style.color =
"green";
19 msg.appendChild(document.createTextNode(
"PASS:"));
21 log.appendChild(document.createTextNode(
" Did not crash while rendering the SVG."));