Commit 10545dce authored by Frédéric Wang's avatar Frédéric Wang Committed by Commit Bot

[mathml] Enable MathML Core tests and add expectations

The status of the MathMLCore runtime flag is changed to "test" so that
that flag is used for running tests. A new section for MathML-related
expectation is introduced in TestExpectations. In addition to
expectations for new tests, the ones of MathML-related CSS tests are
moved there.

Blink currently contains an internal MathML-specific test
(mathml/fallback.html) which verifies fallback via the <semantics>
element when MathML is not implemented. This test will fail when more
MathML patches land but it is still important to ensure that test passes
when MathMLCore is disabled. A new virtual test suite is introduced for
that purpose and the test is moved there.

Expectation for http/tests/xmlviewer/dumpAsText/mathml.xml is also
updated since MathML is recognized as a known namespace when MathMLCore
is enabled.

Bug: 6606
Change-Id: Ia5a657e02850cad142d53a08baf10ec499467726
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893878
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Reviewed-by: default avatarLuke Z <lpz@chromium.org>
Reviewed-by: default avatarManuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#713440}
parent 0f7ccbb2
...@@ -927,6 +927,7 @@ ...@@ -927,6 +927,7 @@
}, },
{ {
name: "MathMLCore", name: "MathMLCore",
status:"test",
}, },
{ {
name:"MeasureMemory", name:"MeasureMemory",
......
...@@ -1944,9 +1944,6 @@ virtual/speech-with-unified-autoplay/external/wpt/speech-api/SpeechRecognition-o ...@@ -1944,9 +1944,6 @@ virtual/speech-with-unified-autoplay/external/wpt/speech-api/SpeechRecognition-o
virtual/speech-with-unified-autoplay/external/wpt/speech-api/SpeechRecognition-stop-manual.https.html [ Skip ] virtual/speech-with-unified-autoplay/external/wpt/speech-api/SpeechRecognition-stop-manual.https.html [ Skip ]
[ Retina ] external/wpt/pointerevents/pointerevent_touch-action-table-test_touch-manual.html [ Skip ] [ Retina ] external/wpt/pointerevents/pointerevent_touch-action-table-test_touch-manual.html [ Skip ]
# MathML is not implemented.
crbug.com/6606 external/wpt/mathml [ Skip ]
# ==== Tests incompatible with the default WPT Origin Isolation start here ==VV # ==== Tests incompatible with the default WPT Origin Isolation start here ==VV
# The section below lists web tests that are incompatible with the WPT Origin # The section below lists web tests that are incompatible with the WPT Origin
# Isolation mode of Site Isolation (see # Isolation mode of Site Isolation (see
......
...@@ -619,6 +619,11 @@ ...@@ -619,6 +619,11 @@
"bases": [], "bases": [],
"args": ["--enable-font-antialiasing"] "args": ["--enable-font-antialiasing"]
}, },
{
"prefix": "mathml-disabled",
"bases": [],
"args": ["--disable-blink-features=MathMLCore"]
},
{ {
"prefix": "hdr", "prefix": "hdr",
"bases": [], "bases": [],
......
This XML file does not appear to have any style information associated with it. The document tree is shown below. This tests that xml viewer is not used when there is a tag in MATHML namespace. SUCCESS
<!--
If you can see this, this test has failed, except if you are
not using a MathML-aware client.
-->
<FAIL xmlns:a="http://www.w3.org/1998/Math/MathML">
<header>
This tests that xml viewer is not used when there is a tag in MATHML namespace.
</header>
<a:math>
<a:mrow>
<a:mi>SUCCESS</a:mi>
</a:mrow>
</a:math>
</FAIL>
This suite runs tests with --disable-blink-features=MathMLCore
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment