573127-1.html 465 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script>
  5. function boom()
  6. {
  7. var mspace = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mspace");
  8. var emptyset = document.createElementNS("http://www.w3.org/1998/Math/MathML", "emptyset");
  9. emptyset.setAttributeNS(null, "mathvariant", "3");
  10. mspace.appendChild(emptyset);
  11. document.body.appendChild(mspace);
  12. emptyset.removeAttribute('mathvariant');
  13. }
  14. </script>
  15. </head>
  16. <body onload="boom()"></body>
  17. </html>