From aa6bda31cc889198c4b336a4b6e8ae761e8b555b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Tue, 17 Sep 2019 13:15:26 +0200 Subject: [PATCH] Add tests to check that legacy maction/semantics elements are treated as mrow-like https://github.com/mathml-refresh/mathml/issues/26 https://github.com/mathml-refresh/mathml/issues/100 This also checks a bit annotation/annotation-xml and display: math. --- .../mrow/legacy-mrow-like-elements-001.html | 188 ++++++++++++++++++ .../legacy-mrow-like-elements-002-ref.html | 46 +++++ .../mrow/legacy-mrow-like-elements-002.html | 57 ++++++ 3 files changed, 291 insertions(+) create mode 100644 mathml/presentation-markup/mrow/legacy-mrow-like-elements-001.html create mode 100644 mathml/presentation-markup/mrow/legacy-mrow-like-elements-002-ref.html create mode 100644 mathml/presentation-markup/mrow/legacy-mrow-like-elements-002.html diff --git a/mathml/presentation-markup/mrow/legacy-mrow-like-elements-001.html b/mathml/presentation-markup/mrow/legacy-mrow-like-elements-001.html new file mode 100644 index 00000000000000..ad9f2d2a47caa6 --- /dev/null +++ b/mathml/presentation-markup/mrow/legacy-mrow-like-elements-001.html @@ -0,0 +1,188 @@ + + + + +Legacy maction and semantics elements + + + + + + + + + + + + + +
+

+ + + + + + + + + + + + + + + + +

+

+ + + + ANNOTATION + ANNOTATION-XML + + + + + + ANNOTATION + ANNOTATION-XML + + +

+

+ + + + + + + + + + + + + + + + +

+

+ + + + + + + + + + + + + + + + +

+

+ + + + + + + + + + + + + + + + +

+

+ + + + MESSAGE + + + + + + MESSAGE + + +

+

+ + + + MESSAGE + + + + + + MESSAGE + + +

+

+ + + + + + + + + + +

+ + diff --git a/mathml/presentation-markup/mrow/legacy-mrow-like-elements-002-ref.html b/mathml/presentation-markup/mrow/legacy-mrow-like-elements-002-ref.html new file mode 100644 index 00000000000000..0c26780c10f06c --- /dev/null +++ b/mathml/presentation-markup/mrow/legacy-mrow-like-elements-002-ref.html @@ -0,0 +1,46 @@ + + + + +Legacy maction and semantics elements (reference) + + +

This test passes if you see 4 green squares and no red.

+

+ + + + + + + +

+

+ + + + + + + +

+

+ + + + + +

+

+ + + + + + + +

+ + + + diff --git a/mathml/presentation-markup/mrow/legacy-mrow-like-elements-002.html b/mathml/presentation-markup/mrow/legacy-mrow-like-elements-002.html new file mode 100644 index 00000000000000..7c350f9953462e --- /dev/null +++ b/mathml/presentation-markup/mrow/legacy-mrow-like-elements-002.html @@ -0,0 +1,57 @@ + + + + +Legacy maction and semantics elements + + + + + + + + +

This test passes if you see 4 green squares and no red.

+

+ + + + + + + + + +

+

+ + + + + + + + + +

+

+ + + + + + +

+

+ + + + + + + +

+ + + +