From 91ec9d9e61590d55e47cbc46ee41a6703262bcca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Wed, 21 Dec 2011 17:21:59 -0500 Subject: [PATCH] Add MathML reftests for dir=rtl (bug 534963). r=karlt --- layout/reftests/mathml/dir-1-ref.html | 61 ++++++++++++++ layout/reftests/mathml/dir-1.html | 61 ++++++++++++++ layout/reftests/mathml/dir-2-ref.html | 81 ++++++++++++++++++ layout/reftests/mathml/dir-2.html | 81 ++++++++++++++++++ layout/reftests/mathml/dir-3-ref.html | 11 +++ layout/reftests/mathml/dir-3.html | 114 ++++++++++++++++++++++++++ layout/reftests/mathml/dir-4-ref.html | 18 ++++ layout/reftests/mathml/dir-4.html | 37 +++++++++ layout/reftests/mathml/dir-5-ref.html | 37 +++++++++ layout/reftests/mathml/dir-5.html | 76 +++++++++++++++++ layout/reftests/mathml/dir-6-ref.html | 37 +++++++++ layout/reftests/mathml/dir-6.html | 37 +++++++++ layout/reftests/mathml/reftest.list | 6 ++ 13 files changed, 657 insertions(+) create mode 100644 layout/reftests/mathml/dir-1-ref.html create mode 100644 layout/reftests/mathml/dir-1.html create mode 100644 layout/reftests/mathml/dir-2-ref.html create mode 100644 layout/reftests/mathml/dir-2.html create mode 100644 layout/reftests/mathml/dir-3-ref.html create mode 100644 layout/reftests/mathml/dir-3.html create mode 100644 layout/reftests/mathml/dir-4-ref.html create mode 100644 layout/reftests/mathml/dir-4.html create mode 100644 layout/reftests/mathml/dir-5-ref.html create mode 100644 layout/reftests/mathml/dir-5.html create mode 100644 layout/reftests/mathml/dir-6-ref.html create mode 100644 layout/reftests/mathml/dir-6.html diff --git a/layout/reftests/mathml/dir-1-ref.html b/layout/reftests/mathml/dir-1-ref.html new file mode 100644 index 000000000000..a77be855c4a0 --- /dev/null +++ b/layout/reftests/mathml/dir-1-ref.html @@ -0,0 +1,61 @@ + + + Test dir=rtl + +

+ math: + + + + + +

+ +

+ mrow: + + + + + + + +

+ +

+ mstyle: + + + + + + + +

+ +

+ mpadded lspace="25px" width="150px": + + + + + + + + + +

+ +

+ mfenced open="A" close="D" separators="BC": + + + c + b + a + + +

+ + + diff --git a/layout/reftests/mathml/dir-1.html b/layout/reftests/mathml/dir-1.html new file mode 100644 index 000000000000..2b4ce236c525 --- /dev/null +++ b/layout/reftests/mathml/dir-1.html @@ -0,0 +1,61 @@ + + + Test dir=rtl + +

+ math: + + + + + +

+ +

+ mrow: + + + + + + + +

+ +

+ mstyle: + + + + + + + +

+ +

+ mpadded lspace="25px" width="150px": + + + + + + + + + +

+ +

+ mfenced open="A" close="D" separators="BC": + + + a + b + c + + +

+ + + diff --git a/layout/reftests/mathml/dir-2-ref.html b/layout/reftests/mathml/dir-2-ref.html new file mode 100644 index 000000000000..0b57ece82b1e --- /dev/null +++ b/layout/reftests/mathml/dir-2-ref.html @@ -0,0 +1,81 @@ + + + Test dir=rtl + +

+ mfrac (numalign=left): + + + + + + +

+ +

+ mfrac (numalign=right): + + + + + + +

+ +

+ menclose: + + + + + + + +

+ +

+ menclose notation="left": + + + + + + + +

+ +

+ menclose notation="right": + + + + + + + +

+ +

+ menclose notation="updiagonalstrike": + + + + + + + +

+ +

+ menclose notation="downdiagonalstrike": + + + + + + + +

+ + + diff --git a/layout/reftests/mathml/dir-2.html b/layout/reftests/mathml/dir-2.html new file mode 100644 index 000000000000..41d5b3aa692a --- /dev/null +++ b/layout/reftests/mathml/dir-2.html @@ -0,0 +1,81 @@ + + + Test dir=rtl + +

+ mfrac (numalign=left): + + + + + + +

+ +

+ mfrac (numalign=right): + + + + + + +

+ +

+ menclose: + + + + + + + +

+ +

+ menclose notation="left": + + + + + + + +

+ +

+ menclose notation="right": + + + + + + + +

+ +

+ menclose notation="updiagonalstrike": + + + + + + + +

+ +

+ menclose notation="downdiagonalstrike": + + + + + + + +

+ + + diff --git a/layout/reftests/mathml/dir-3-ref.html b/layout/reftests/mathml/dir-3-ref.html new file mode 100644 index 000000000000..3260aef20481 --- /dev/null +++ b/layout/reftests/mathml/dir-3-ref.html @@ -0,0 +1,11 @@ + + + Test dir=rtl + + +
+
+
+ + + diff --git a/layout/reftests/mathml/dir-3.html b/layout/reftests/mathml/dir-3.html new file mode 100644 index 000000000000..43d9f410e56a --- /dev/null +++ b/layout/reftests/mathml/dir-3.html @@ -0,0 +1,114 @@ + + + Test dir=rtl + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + + +
+ + + + + + + + + + +
+ + + + + + | + + + + +
+ + + + + + | + + + + +
+ + + + + + | + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ +
+
+
+ + + diff --git a/layout/reftests/mathml/dir-4-ref.html b/layout/reftests/mathml/dir-4-ref.html new file mode 100644 index 000000000000..f4dbe0e32f34 --- /dev/null +++ b/layout/reftests/mathml/dir-4-ref.html @@ -0,0 +1,18 @@ + + + Test dir=rtl + + +
+
+
+
+
+ + + diff --git a/layout/reftests/mathml/dir-4.html b/layout/reftests/mathml/dir-4.html new file mode 100644 index 000000000000..e8655de9f825 --- /dev/null +++ b/layout/reftests/mathml/dir-4.html @@ -0,0 +1,37 @@ + + + Test dir=rtl + + + + +
+ + + + + + + + +
+ +
+ +
+ +
+ +
+
+ + + diff --git a/layout/reftests/mathml/dir-5-ref.html b/layout/reftests/mathml/dir-5-ref.html new file mode 100644 index 000000000000..e3b99e389d1e --- /dev/null +++ b/layout/reftests/mathml/dir-5-ref.html @@ -0,0 +1,37 @@ + + + Test dir=rtl + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/mathml/dir-5.html b/layout/reftests/mathml/dir-5.html new file mode 100644 index 000000000000..dca12c49bef5 --- /dev/null +++ b/layout/reftests/mathml/dir-5.html @@ -0,0 +1,76 @@ + + + Test dir=rtl + + + + + +
+
+
+
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/mathml/dir-6-ref.html b/layout/reftests/mathml/dir-6-ref.html new file mode 100644 index 000000000000..fb937a9c7e56 --- /dev/null +++ b/layout/reftests/mathml/dir-6-ref.html @@ -0,0 +1,37 @@ + + + Test dir=rtl + + +

+ mtable: + + + + + c + + + b + + + a + + + + + f + + + e + + + d + + + + +

+ + + diff --git a/layout/reftests/mathml/dir-6.html b/layout/reftests/mathml/dir-6.html new file mode 100644 index 000000000000..c7f45fe5976f --- /dev/null +++ b/layout/reftests/mathml/dir-6.html @@ -0,0 +1,37 @@ + + + Test dir=rtl + + +

+ mtable: + + + + + a + + + b + + + c + + + + + d + + + e + + + f + + + + +

+ + + diff --git a/layout/reftests/mathml/reftest.list b/layout/reftests/mathml/reftest.list index 9debf84938ad..1e05a47505ca 100644 --- a/layout/reftests/mathml/reftest.list +++ b/layout/reftests/mathml/reftest.list @@ -1,3 +1,9 @@ +== dir-1.html dir-1-ref.html +== dir-2.html dir-2-ref.html +== dir-3.html dir-3-ref.html +== dir-4.html dir-4-ref.html +== dir-5.html dir-5-ref.html +fails == dir-6.html dir-6-ref.html == dynamic-mi.xhtml dynamic-mi-ref.xhtml == mfenced-1.xhtml mfenced-1-ref.xhtml == mfenced-2a.xhtml mfenced-2-ref.xhtml