tor-browser

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

mtable-dynamic-frame-attribute-002.html (1371B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <title>Test dynamic change of the frame attribute</title>
      4  <link rel="match" href="mtable-dynamic-frame-attribute-002-ref.html"/>
      5  <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mtable"/>
      6  <script>
      7    document.documentElement.addEventListener("TestRendered", () => {
      8      // Remove attribute frame="dashed" from mtable.
      9      // Note that the default value is "none" so this change also affects
     10      // whether mtable@framespacing applies.
     11      mtable.removeAttribute("frame");
     12      document.documentElement.removeAttribute("class");
     13    });
     14  </script>
     15  <math>
     16    <mtable id="mtable" frame="dashed">
     17      <mtr>
     18        <mtd>
     19          <mspace width="10px" height="10px" style="background: blue"/>
     20        </mtd>
     21        <mtd>
     22          <mspace width="10px" height="10px" style="background: blue"/>
     23        </mtd>
     24        <mtd>
     25          <mspace width="10px" height="10px" style="background: blue"/>
     26        </mtd>
     27      </mtr>
     28      <mtr>
     29        <mtd>
     30          <mspace width="10px" height="10px" style="background: blue"/>
     31        </mtd>
     32        <mtd>
     33          <mspace width="10px" height="10px" style="background: blue"/>
     34        </mtd>
     35        <mtd>
     36          <mspace width="10px" height="10px" style="background: blue"/>
     37        </mtd>
     38      </mtr>
     39    </mtable>
     40  </math>
     41 </html>