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