373472-1.xhtml (546B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <script> 4 function boom() 5 { 6 document.getElementById("mo").appendChild(document.getElementById("mo2")); 7 document.body.offsetWidth; 8 document.getElementById("span").appendChild(document.createTextNode("baz")); 9 } 10 </script> 11 </head> 12 13 <body onload="boom();"> 14 15 <p>Foo <math xmlns="http://www.w3.org/1998/Math/MathML"><mo id="mo2">-</mo></math></p> 16 17 <p><math xmlns="http://www.w3.org/1998/Math/MathML"><msub id="msub"><mo id="mo">+</mo></msub></math> <span id="span">bar</span></p> 18 19 </body> 20 </html>