summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/dir-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/dir-2.html')
-rw-r--r--layout/reftests/mathml/dir-2.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/layout/reftests/mathml/dir-2.html b/layout/reftests/mathml/dir-2.html
new file mode 100644
index 000000000..41d5b3aa6
--- /dev/null
+++ b/layout/reftests/mathml/dir-2.html
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<html>
+ <head><title>Test dir=rtl</title></head>
+ <body>
+ <p>
+ mfrac (numalign=left):
+ <math dir="rtl">
+ <mfrac numalign="left">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="75px" height="25px" mathbackground="green"/>
+ </mfrac>
+ </math>
+ </p>
+
+ <p>
+ mfrac (numalign=right):
+ <math dir="rtl">
+ <mfrac numalign="right">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="75px" height="25px" mathbackground="green"/>
+ </mfrac>
+ </math>
+ </p>
+
+ <p>
+ menclose:
+ <math dir="rtl">
+ <menclose>
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </menclose>
+ </math>
+ </p>
+
+ <p>
+ menclose notation="left":
+ <math dir="rtl">
+ <menclose notation="left">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </menclose>
+ </math>
+ </p>
+
+ <p>
+ menclose notation="right":
+ <math dir="rtl">
+ <menclose notation="right">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </menclose>
+ </math>
+ </p>
+
+ <p>
+ menclose notation="updiagonalstrike":
+ <math dir="rtl">
+ <menclose notation="updiagonalstrike">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </menclose>
+ </math>
+ </p>
+
+ <p>
+ menclose notation="downdiagonalstrike":
+ <math dir="rtl">
+ <menclose notation="downdiagonalstrike">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </menclose>
+ </math>
+ </p>
+
+ </body>
+</html>