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 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <script> |
michael@0 | 5 | |
michael@0 | 6 | function boom() |
michael@0 | 7 | { |
michael@0 | 8 | var allNodes = []; |
michael@0 | 9 | allNodes[5] = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 10 | allNodes[5].style.setProperty("-moz-column-width", "200px", ""); |
michael@0 | 11 | allNodes[5].style.setProperty("height", "2em", ""); |
michael@0 | 12 | allNodes[7] = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 13 | allNodes[7].style.setProperty("float", "left", ""); |
michael@0 | 14 | allNodes[30] = document.createElementNS("http://www.w3.org/1998/Math/MathML", "munder"); |
michael@0 | 15 | (allNodes[7] || allNodes[5] || document.body).appendChild(allNodes[30]); |
michael@0 | 16 | (allNodes[5] || document.body).appendChild(allNodes[7]); |
michael@0 | 17 | allNodes[17] = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 18 | allNodes[17].style.setProperty("display", "inline-block", ""); |
michael@0 | 19 | (allNodes[5] || document.body).appendChild(allNodes[17]); |
michael@0 | 20 | allNodes[20] = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 21 | (allNodes[5] || document.body).appendChild(allNodes[20]); |
michael@0 | 22 | allNodes[23] = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 23 | allNodes[23].style.setProperty("float", "left", ""); |
michael@0 | 24 | allNodes[25] = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 25 | allNodes[25].style.setProperty("display", "inline-block", ""); |
michael@0 | 26 | (allNodes[23] || allNodes[5] || document.body).appendChild(allNodes[25]); |
michael@0 | 27 | (allNodes[5] || document.body).appendChild(allNodes[23]); |
michael@0 | 28 | (document.body).appendChild(allNodes[5]); |
michael@0 | 29 | document.documentElement.offsetHeight; |
michael@0 | 30 | allNodes[34] = document.createElementNS("http://www.w3.org/1998/Math/MathML", 'maligngroup'); |
michael@0 | 31 | allNodes[17].appendChild(allNodes[34]); |
michael@0 | 32 | document.documentElement.offsetHeight; |
michael@0 | 33 | allNodes[30].setAttribute('accentunder', "false"); |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | </script> |
michael@0 | 37 | </head> |
michael@0 | 38 | |
michael@0 | 39 | <body onload="boom();"></body> |
michael@0 | 40 | </html> |