Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML">
2 <head>
3 <script>
5 function boom()
6 {
7 var mtd1 = document.getElementById("mtd1");
8 var mtd2 = document.getElementById("mtd2");
9 var newSpan = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
11 mtd1.appendChild(newSpan);
12 mtd1.removeAttribute("columnspan");
13 mtd2.setAttribute("columnspan", 0);
14 }
16 </script>
17 </head>
19 <body onload="boom();">
20 <math:mtd id="mtd1" columnspan="5" /><math:mtd id="mtd2" />
21 </body>
22 </html>