Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <?xml version="1.0"?>
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <script>
5 <![CDATA[
7 function boom()
8 {
9 var svgText = document.createElementNS("http://www.w3.org/2000/svg", "text");
10 document.documentElement.appendChild(svgText);
11 var text1 = document.createTextNode("A");
12 svgText.appendChild(text1);
13 var text2 = document.createTextNode("");
14 svgText.appendChild(text2);
15 document.caretPositionFromPoint(0, 0);
16 setTimeout(function() {
17 text2.data = "B";
18 document.caretPositionFromPoint(0, 0);
19 }, 0);
20 }
22 window.addEventListener("load", boom, false);
24 ]]>
25 </script>
26 </svg>