Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script> |
michael@0 | 4 | |
michael@0 | 5 | function boom() |
michael@0 | 6 | { |
michael@0 | 7 | var mtd1 = document.getElementById("mtd1"); |
michael@0 | 8 | var mtd2 = document.getElementById("mtd2"); |
michael@0 | 9 | var newSpan = document.createElementNS("http://www.w3.org/1999/xhtml", "span"); |
michael@0 | 10 | |
michael@0 | 11 | mtd1.appendChild(newSpan); |
michael@0 | 12 | mtd1.removeAttribute("columnspan"); |
michael@0 | 13 | mtd2.setAttribute("columnspan", 0); |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | </script> |
michael@0 | 17 | </head> |
michael@0 | 18 | |
michael@0 | 19 | <body onload="boom();"> |
michael@0 | 20 | <math:mtd id="mtd1" columnspan="5" /><math:mtd id="mtd2" /> |
michael@0 | 21 | </body> |
michael@0 | 22 | </html> |