diff options
Diffstat (limited to 'testing/web-platform/tests/mathml/presentation-markup/fractions/frac-linethickness-007.html')
-rw-r--r-- | testing/web-platform/tests/mathml/presentation-markup/fractions/frac-linethickness-007.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/presentation-markup/fractions/frac-linethickness-007.html b/testing/web-platform/tests/mathml/presentation-markup/fractions/frac-linethickness-007.html new file mode 100644 index 0000000000..8702c3c698 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/fractions/frac-linethickness-007.html @@ -0,0 +1,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 larger than 100%"> + <link rel="match" href="frac-linethickness-007-ref.html"> + <script type="text/javascript"> + function doTest() { + document.getElementById("testMfrac").setAttribute("linethickness","200%"); + document.documentElement.removeAttribute("class"); + } + window.addEventListener("TestRendered",doTest); + </script> + </head> + <body> + <math> + <mfrac id="testMfrac" style="font-size: 300%"> + <mi>a</mi> + <mi>b</mi> + </mfrac> + </math> + </body> +</html> |