From 05d649349d4c6556a09fe9f66af37261b7f04a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Thu, 1 Feb 2024 12:15:33 +0000 Subject: [PATCH] Export MathML dir-* tests to WPT. - dir-3.html/dir-5.html: These are approximative verifications of overall RTL directionality using "covering rectangles". Export them with a a specific font in order to make them a bit more robust. For dir-5.html we use scripts-spaceafterscript3000.woff and adjust the rects accordingly but the test might change later depending on the outcome of https://github.com/w3c/mathml-core/issues/217. - dir-4-ref.html: Removed (the test was removed in bug 1783995). Differential Revision: https://phabricator.services.mozilla.com/D199702 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1876684 gecko-commit: eb00222e557742d5a6c66534f38345ddf71deaa5 gecko-reviewers: emilio --- .../direction/direction-overall-002-ref.html | 11 ++ .../direction/direction-overall-002.html | 120 ++++++++++++++++++ .../direction/direction-overall-003-ref.html | 38 ++++++ .../direction/direction-overall-003.html | 94 ++++++++++++++ 4 files changed, 263 insertions(+) create mode 100644 mathml/presentation-markup/direction/direction-overall-002-ref.html create mode 100644 mathml/presentation-markup/direction/direction-overall-002.html create mode 100644 mathml/presentation-markup/direction/direction-overall-003-ref.html create mode 100644 mathml/presentation-markup/direction/direction-overall-003.html diff --git a/mathml/presentation-markup/direction/direction-overall-002-ref.html b/mathml/presentation-markup/direction/direction-overall-002-ref.html new file mode 100644 index 00000000000000..03ecf2994427c9 --- /dev/null +++ b/mathml/presentation-markup/direction/direction-overall-002-ref.html @@ -0,0 +1,11 @@ + + + Test dir=rtl + + +
+
+
+ + + diff --git a/mathml/presentation-markup/direction/direction-overall-002.html b/mathml/presentation-markup/direction/direction-overall-002.html new file mode 100644 index 00000000000000..8840eaed56a546 --- /dev/null +++ b/mathml/presentation-markup/direction/direction-overall-002.html @@ -0,0 +1,120 @@ + + + + + Verify dir attribute on various containers + + + + + + + + + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + + +
+ + + + + + + + + + +
+ + + + + + | + + + + +
+ + + + + + | + + + + +
+ + + + + + | + + + + + +
+ + + + + + + + +
+ + + + + + + + + +
+ +
+
+
+ + + diff --git a/mathml/presentation-markup/direction/direction-overall-003-ref.html b/mathml/presentation-markup/direction/direction-overall-003-ref.html new file mode 100644 index 00000000000000..3ecbcd0a6f99e5 --- /dev/null +++ b/mathml/presentation-markup/direction/direction-overall-003-ref.html @@ -0,0 +1,38 @@ + + + Test dir=rtl + + +
+
+
+
+
+
--> +
+ + +
+
+
+
+
+
+
+
+ + + diff --git a/mathml/presentation-markup/direction/direction-overall-003.html b/mathml/presentation-markup/direction/direction-overall-003.html new file mode 100644 index 00000000000000..7acc0f65c1b5c3 --- /dev/null +++ b/mathml/presentation-markup/direction/direction-overall-003.html @@ -0,0 +1,94 @@ + + + + + Verify dir attribute on various containers + + + + + + + + + + + + +
+
+
+
+
+
--> +
+ + +
+ + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+
+
+
+ + +