tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

non-mathml-namespace-001.html (726B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>Non MathML namespace</title>
      6    <link rel="help" href="https://www.w3.org/TR/mathml-core/#user-agent-stylesheet">
      7    <link rel="match" href="non-mathml-namespace-001-ref.html">
      8    <meta name="assert" content="Verify that MathML stylesheets only apply to its namespace.">
      9  </head>
     10  <body>
     11    <div id="container"></div>
     12    <script>
     13      ["semantics", "maction"].forEach((tagName) => {
     14        const nonMathMLNS = "http://www.w3.org/1999/xhtml";
     15        let el = document.createElement(tagName, nonMathMLNS);
     16        el.innerHTML = "<span>Hello</span> <span>World!</span>";
     17        container.appendChild(el);
     18      });
     19    </script>
     20  </body>
     21 </html>