tor-browser

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

dynamic-href-001.tentative.html (1077B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <title>Test dynamic change of the href attribute</title>
      4  <link rel="help" href="https://w3c.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements">
      5  <link rel="help" href="https://w3c.github.io/mathml-core/#dom-and-javascript">
      6  <link rel="help" href="https://github.com/w3c/mathml-core/issues/142">
      7  <link rel="match" href="dynamic-href-001.tentative-ref.html"/>
      8  <script>
      9    document.documentElement.addEventListener("TestRendered", () => {
     10      // Attach the href attribute to the mrow element.
     11      mrow.setAttribute("href", "about:blank");
     12      document.documentElement.removeAttribute("class");
     13    });
     14  </script>
     15  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     16  <style>
     17    mrow { color: red; }
     18    mrow:link { margin: 10px; color: green; }
     19    mtext { font: 25px/1 Ahem; }
     20  </style>
     21  <math>
     22    <mfrac>
     23      <mrow id="mrow" width="50px" height="50px" style="background: blue">
     24        <mtext>XXX</mtext>
     25      </mrow>
     26      <mtext>XXX</mtext>
     27    </mfrac>
     28  </math>
     29 </html>