summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/dir-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/dir-1.html')
-rw-r--r--layout/reftests/mathml/dir-1.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/layout/reftests/mathml/dir-1.html b/layout/reftests/mathml/dir-1.html
new file mode 100644
index 000000000..2b4ce236c
--- /dev/null
+++ b/layout/reftests/mathml/dir-1.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+ <head><title>Test dir=rtl</title></head>
+ <body>
+ <p>
+ math:
+ <math dir="rtl">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </math>
+ </p>
+
+ <p>
+ mrow:
+ <math>
+ <mrow dir="rtl">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </mrow>
+ </math>
+ </p>
+
+ <p>
+ mstyle:
+ <math>
+ <mstyle dir="rtl">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </mstyle>
+ </math>
+ </p>
+
+ <p>
+ mpadded lspace="25px" width="150px":
+ <math dir="rtl">
+ <mspace width="1px" height="25px" mathbackground="black"/>
+ <mpadded lspace="25px" width="150px">
+ <mspace width="25px" height="25px" mathbackground="red"/>
+ <mspace width="25px" height="25px" mathbackground="green"/>
+ <mspace width="25px" height="25px" mathbackground="blue"/>
+ </mpadded>
+ <mspace width="1px" height="25px" mathbackground="black"/>
+ </math>
+ </p>
+
+ <p>
+ mfenced open="A" close="D" separators="BC":
+ <math dir="rtl">
+ <mfenced open="A" close="D" separators="BC">
+ <mtext>a</mtext>
+ <mtext>b</mtext>
+ <mtext>c</mtext>
+ </mfenced>
+ </math>
+ </p>
+
+ </body>
+</html>