summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mfrac-D-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/mfrac-D-3.html')
-rw-r--r--layout/reftests/mathml/mfrac-D-3.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mfrac-D-3.html b/layout/reftests/mathml/mfrac-D-3.html
new file mode 100644
index 000000000..1929e737f
--- /dev/null
+++ b/layout/reftests/mathml/mfrac-D-3.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <head>
+ <title>mfrac numalign</title>
+ <script type="text/javascript">
+ function doTest() {
+ document.getElementById("testMfrac").setAttribute("numalign","left");
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("MozReftestInvalidate",doTest, false);
+ </script>
+ </head>
+ <body>
+ <math>
+ <mfrac id="testMfrac" style="font-size: 300%" numalign="right">
+ <mi>x</mi>
+ <mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
+ </mfrac>
+ </math>
+ </body>
+</html>