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 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5 function doTest() {
6 for (var i = 0; i < 10; ++i) {
7 // clear target element's content
8 document.getElementById("target-table").innerHTML = "";
9 // clone and append new row
10 cloned_row = document.getElementById("row-template").cloneNode(true);
11 document.getElementById("target-table").appendChild(cloned_row);
12 document.body.offsetWidth;
13 }
14 }
15 </script>
16 </head>
17 <body onload="doTest()">
18 <table><tr id="row-template"><td>cloning material</td></tr></table>
19 <table id="target-table"><tr><td>target table</td></tr></table>
20 </body>
21 </html>