summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/fractions/frac-linethickness-008.html
blob: 8e5bfe89f517a2f4da5aa34ea4ffc0fe1d531928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <title>mfrac linethickness</title>
    <link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac">
    <meta name="assert" content="Test dynamically setting the linethickness to a value smaller than 100%">
    <link rel="match" href="frac-linethickness-008-ref.html">
    <script type="text/javascript">
      function doTest() {
        document.getElementById("testMfrac").setAttribute("linethickness","50%");
        document.documentElement.removeAttribute("class");
      }
      window.addEventListener("TestRendered",doTest);
    </script>
  </head>
  <body>
    <math>
      <mfrac id="testMfrac" style="font-size: 300%" linethickness="300%">
        <mi>a</mi>
        <mi>b</mi>
      </mfrac>
    </math>
  </body>
</html>