mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-06 03:29:01 +00:00
16 lines
338 B
XML
16 lines
338 B
XML
|
<svg xmlns="http://www.w3.org/2000/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>
|