Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/svg/crashtests/881031-1.svg
<script>
function boom()
{
var svgText = document.getElementById("t");
svgText.firstChild.data = "C";
svgText.appendChild(document.createTextNode("D"));
document.caretPositionFromPoint(0, 0);
}
window.addEventListener("load", boom, false);
</script>
<text id="t">A</text>
</svg>