diff --git a/layout/reftests/mathml/dir-10-ref.html b/layout/reftests/mathml/dir-10-ref.html deleted file mode 100644 index d9a80d8da4ff..000000000000 --- a/layout/reftests/mathml/dir-10-ref.html +++ /dev/null @@ -1,41 +0,0 @@ - - - Test direction: rtl - -

- math: - - a - b - c - -

- -

- mrow: - - - z - X - Y - Z - a - - -

- -

- mstyle(mathcolor=blue): - - - a - + - 3 - + - 9 - - -

- - - diff --git a/layout/reftests/mathml/dir-10.html b/layout/reftests/mathml/dir-10.html deleted file mode 100644 index 85bc75f77ca1..000000000000 --- a/layout/reftests/mathml/dir-10.html +++ /dev/null @@ -1,41 +0,0 @@ - - - Test direction: rtl - -

- math: - - a - b - c - -

- -

- mrow: - - - z - X - Y - Z - a - - -

- -

- mstyle(mathcolor=blue): - - - a - + - 3 - + - 9 - - -

- - - diff --git a/layout/reftests/mathml/dir-11-ref.html b/layout/reftests/mathml/dir-11-ref.html deleted file mode 100644 index c23763f4450a..000000000000 --- a/layout/reftests/mathml/dir-11-ref.html +++ /dev/null @@ -1,76 +0,0 @@ - - - Test direction: dynamic change - - -

- math: - - a - b - c - - - a - b - c - - - a - b - c - -

- -

- mstyle: - - - a - b - c - - - - - a - b - c - - - - - a - b - c - - -

- -

- mrow: - - - a - b - c - - - - - a - b - c - - - - - a - b - c - - -

- - - diff --git a/layout/reftests/mathml/dir-11.html b/layout/reftests/mathml/dir-11.html deleted file mode 100644 index 7a568129b897..000000000000 --- a/layout/reftests/mathml/dir-11.html +++ /dev/null @@ -1,98 +0,0 @@ - - - Test direction: dynamic change - -

- math: - - a - b - c - - - a - b - c - - - a - b - c - -

- -

- mstyle: - - - a - b - c - - - - - a - b - c - - - - - a - b - c - - -

- -

- mrow: - - - a - b - c - - - - - a - b - c - - - - - a - b - c - - -

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

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

- -

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

- - - diff --git a/layout/reftests/mathml/dir-7-ref.html b/layout/reftests/mathml/dir-7-ref.html deleted file mode 100644 index 94d5edb3e579..000000000000 --- a/layout/reftests/mathml/dir-7-ref.html +++ /dev/null @@ -1,36 +0,0 @@ - - - Test dir=rtl - - -

- mo (lspace=1em rspace=2em): - - _+_ - -

- -

- embellished mrow (lspace=1em rspace=2em): - - _ - + - _ - -

- -

- embellished munderover (lspace=1em rspace=2em): - - _ - - + - | - | - - _ - -

- - - diff --git a/layout/reftests/mathml/dir-7.html b/layout/reftests/mathml/dir-7.html deleted file mode 100644 index 8f2863ecc610..000000000000 --- a/layout/reftests/mathml/dir-7.html +++ /dev/null @@ -1,36 +0,0 @@ - - - Test dir=rtl - - -

- mo (lspace=1em rspace=2em): - - _+_ - -

- -

- embellished mrow (lspace=1em rspace=2em): - - _ - + - _ - -

- -

- embellished munderover (lspace=1em rspace=2em): - - _ - - + - | - | - - _ - -

- - - diff --git a/layout/reftests/mathml/dir-8-ref.html b/layout/reftests/mathml/dir-8-ref.html deleted file mode 100644 index 4115fa00bac1..000000000000 --- a/layout/reftests/mathml/dir-8-ref.html +++ /dev/null @@ -1,19 +0,0 @@ - - - Test dir=rtl - - -

- embellished mfrac (lspace=1em rspace=2em): - _ - - + - | - - _ - -

- - - diff --git a/layout/reftests/mathml/dir-8.html b/layout/reftests/mathml/dir-8.html deleted file mode 100644 index 1efe189b8d2a..000000000000 --- a/layout/reftests/mathml/dir-8.html +++ /dev/null @@ -1,19 +0,0 @@ - - - Test dir=rtl - - -

- embellished mfrac (lspace=1em rspace=2em): - - _ - - + - | - - _ - -

- - - diff --git a/layout/reftests/mathml/dir-9-ref.html b/layout/reftests/mathml/dir-9-ref.html deleted file mode 100644 index 6bf11e512d87..000000000000 --- a/layout/reftests/mathml/dir-9-ref.html +++ /dev/null @@ -1,11 +0,0 @@ - - - Test dir=rtl - -

ms lquote="A" rquote="B": - - ___ - -

- - diff --git a/layout/reftests/mathml/dir-9.html b/layout/reftests/mathml/dir-9.html deleted file mode 100644 index 224574c0c96b..000000000000 --- a/layout/reftests/mathml/dir-9.html +++ /dev/null @@ -1,11 +0,0 @@ - - - Test dir=rtl - -

ms lquote="A" rquote="B": - - ___ - -

- - diff --git a/layout/reftests/mathml/reftest.list b/layout/reftests/mathml/reftest.list index 75cc7146439f..77abd9de1364 100644 --- a/layout/reftests/mathml/reftest.list +++ b/layout/reftests/mathml/reftest.list @@ -3,13 +3,7 @@ random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == dir-2.html dir-2-ref.htm random-if(gtkWidget) == dir-3.html dir-3-ref.html # bug 1309426 == dir-4.html dir-4-ref.html == dir-5.html dir-5-ref.html -fuzzy-if(cocoaWidget,0-135,0-56) == dir-6.html dir-6-ref.html fuzzy-if(cocoaWidget,0-135,0-56) == dir-6a.html dir-6a-ref.html -random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == dir-7.html dir-7-ref.html # Bug 1392106 -fails == dir-8.html dir-8-ref.html -fails == dir-9.html dir-9-ref.html # Bug 787215 -random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == dir-10.html dir-10-ref.html # Bug 1392106 -== dir-11.html dir-11-ref.html == css-spacing-1.html css-spacing-1-ref.html pref(mathml.disabled,true) == disabled-scriptlevel-1.html disabled-scriptlevel-1-ref.html pref(mathml.disabled,true) == disabled-scriptlevel-1.xhtml disabled-scriptlevel-1-ref.xhtml diff --git a/testing/web-platform/meta/mathml/presentation-markup/direction/direction-008.html.ini b/testing/web-platform/meta/mathml/presentation-markup/direction/direction-008.html.ini new file mode 100644 index 000000000000..a9fdbdc5e9ee --- /dev/null +++ b/testing/web-platform/meta/mathml/presentation-markup/direction/direction-008.html.ini @@ -0,0 +1,3 @@ +[direction-008.html] + expected: + FAIL diff --git a/testing/web-platform/meta/mathml/presentation-markup/direction/direction-009.html.ini b/testing/web-platform/meta/mathml/presentation-markup/direction/direction-009.html.ini new file mode 100644 index 000000000000..2fc904fe5168 --- /dev/null +++ b/testing/web-platform/meta/mathml/presentation-markup/direction/direction-009.html.ini @@ -0,0 +1,4 @@ +[direction-009.html] + expected: + FAIL + bug: 787215 diff --git a/layout/reftests/mathml/dir-6-ref.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-006-ref.html similarity index 55% rename from layout/reftests/mathml/dir-6-ref.html rename to testing/web-platform/tests/mathml/presentation-markup/direction/direction-006-ref.html index 5a4f51ff5676..39e6dabdfb19 100644 --- a/layout/reftests/mathml/dir-6-ref.html +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-006-ref.html @@ -1,32 +1,40 @@ - Test dir=rtl + + + RTL mtable and mtable with frame + + +

- mtable: - c + É - b + p - a + X - f + - e + - d + Xp @@ -34,29 +42,28 @@

- mtable: - c + É - b + p - a + X - f + - e + - d + Xp diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-006.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-006.html new file mode 100644 index 000000000000..904e7d3fed8c --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-006.html @@ -0,0 +1,79 @@ + + + + + RTL mtable and mtable with frame + + + + + + + + + + +

+ + + + + X + + + p + + + É + + + + + Xp + + + + + + + + + + +

+ +

+ + + + + X + + + p + + + É + + + + + Xp + + + + + + + + + + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-007-ref.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-007-ref.html new file mode 100644 index 000000000000..5c77395f2008 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-007-ref.html @@ -0,0 +1,42 @@ + + + + + mo and embellished mrow/munderover (lspace=1em rspace=2em) + + + + + +

+ + pXp + +

+ +

+ + p + X + p + +

+ +

+ + p + + X + É + É + + p + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-007.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-007.html new file mode 100644 index 000000000000..7137e2640fa4 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-007.html @@ -0,0 +1,50 @@ + + + + + mo and embellished mrow/munderover (lspace=1em rspace=2em) + + + + + + + + + + + + + +

+ + pXp + +

+ +

+ + p + X + p + +

+ +

+ + p + + X + É + É + + p + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-008-ref.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-008-ref.html new file mode 100644 index 000000000000..492fa9539ae8 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-008-ref.html @@ -0,0 +1,27 @@ + + + + + embellished mfrac (lspace=1em rspace=2em) + + + + + +

+ + p + + X + É + + p + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-008.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-008.html new file mode 100644 index 000000000000..5c98b0741007 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-008.html @@ -0,0 +1,33 @@ + + + + + embellished mfrac (lspace=1em rspace=2em) + + + + + + + + + + + +

+ + p + + X + É + + p + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-009-ref.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-009-ref.html new file mode 100644 index 000000000000..7ed4796814a7 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-009-ref.html @@ -0,0 +1,21 @@ + + + + + RTL ms lquote="X" rquote="p" + + + + +

+ + É + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-009.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-009.html new file mode 100644 index 000000000000..bf8caf16aed2 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-009.html @@ -0,0 +1,27 @@ + + + + + RTL ms lquote="X" rquote="p" + + + + + + + + + + +

+ + É + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-010-ref.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-010-ref.html new file mode 100644 index 000000000000..4f595ed49f69 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-010-ref.html @@ -0,0 +1,44 @@ + + + + + dir="rtl" VS direction: rtl on math/mrow/mstyle + + + + + +

+ + X + p + É + +

+ +

+ + + X + p + É + + +

+ +

+ + + X + p + É + + +

+ + + diff --git a/testing/web-platform/tests/mathml/presentation-markup/direction/direction-010.html b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-010.html new file mode 100644 index 000000000000..6dc095ac1fd4 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/direction/direction-010.html @@ -0,0 +1,51 @@ + + + + + dir="rtl" VS direction: rtl on math/mrow/mstyle + + + + + + + + + + + + +

+ + X + p + É + +

+ +

+ + + X + p + É + + +

+ +

+ + + X + p + É + + +

+ + +