Closed Bug 1876684 Opened 5 months ago Closed 4 months ago

Export more MathML reftests to WPT

Categories

(Core :: MathML, task)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: fredw, Assigned: fredw)

References

(Blocks 1 open bug)

Details

Attachments

(9 files)

No description provided.
Keywords: leave-open

mfrac-A-5.html: Removed, This is testing linethickness="100%" but is
already covered by frac-linethickness-001.html.

mfrac-A-4.html/mfrac-A-8.html: Removed, these are testing horizontal
alignment of the numerator/denominator but this is already covered
by frac-numalign-denomalign-001.html or frac-1.html.

mfrac-B-2.html/mfrac-B-3.html/mfrac-C-2.html/mfrac-D-2.html: These
are testing invalidation after dynamic updates of the linethickness
attributes. They are already covered by frac-linethickness-002.html but
it's a testharness and does not cover values above/below 100%. So
export them to frac-linethickness-*.html.

mfrac-E-1.html: Moved to frac-created-dynamically-4.html ; as that's
similar but slightly different to other existing tests. The whitespace
around variables does not seem important for this test so remove it.

Attachment #9376583 - Attachment description: WIP: Bug 1876684 - Export mfrac-* reftests to WPT. r=emilio → Bug 1876684 - Export mfrac-* reftests to WPT. r=emilio

This is just a basic reftest for the mspace element that does not seem
to have equivalent in WPT.

Attachment #9376587 - Attachment description: WIP: Bug 1876684 - Export mspace-1.html reftests to WPT. r=emilio → Bug 1876684 - Export mspace-1.html reftests to WPT. r=emilio

These tests are testing Gecko's special handling of invisible operators
introduced in bug 969867 and bug 522393. mo-invisibleoperators-2.html
is just dynamically replacing the invisible operators into ASCII text
and is compatible with MathML-Core implementations.
mo-invisibleoperators.html verifies that invisible operators are really
invisible (no size, background, foreground) which is also compatible
with MathML-Core implementations, as long as the default math fonts
really have empty glyphs for these operators, which should be the case
for modern font sets.

Attachment #9376589 - Attachment description: WIP: Bug 1876684 - Export mo-invisibleoperators-*.html reftests to WPT. r=emilio → Bug 1876684 - Export mo-invisibleoperators-*.html reftests to WPT. r=emilio
  • dir-3.html/dir-5.html: These are approximative verification of overall
    RTL directionality using "covering rectangles". Export them, forcing
    the Ahem font to make them a bit more robust.

  • dir-4-ref.html: Removed (the test was removed in bug 1783995).

Attachment #9376596 - Attachment description: WIP: Bug 1876684 - Export MathML dir-* tests to WPT. r=emilio → Bug 1876684 - Export MathML dir-* tests to WPT. r=emilio

This should be removed (see bug 1790548 and bug 1636428) but convert
them as internal WPT ones for now.

Attachment #9376655 - Attachment description: WIP: Bug 1876684 - Convert mo@accent tests to internal WPT tests. r=emilio → Bug 1876684 - Convert mo@accent tests to internal WPT tests. r=emilio
  • mo-movablelimits-dynamic.html: This is the same as the WPT test
    mathml/presentation-markup/operators/mo-movablelimits-dynamic.html

  • munderover-accentunder-dynamic/munderover-accent-dynamic: There
    does not seem to be any equivalent tests. It's possible the tests
    need some refinement to make sure the attributes have an effect on
    this testcase, but for now it's safe to just export them as is.

Attachment #9376665 - Attachment description: WIP: Bug 1876684 - Export mo dynamic reftests to WPT. r=emilio → Bug 1876684 - Export some dynamic reftests to WPT. r=emilio
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/871aedcfa184
Export mfrac-* reftests to WPT. r=emilio
https://hg.mozilla.org/integration/autoland/rev/09b93cf63a53
Export mspace-1.html reftests to WPT. r=emilio
https://hg.mozilla.org/integration/autoland/rev/3225b8ea16e4
Export mo-invisibleoperators-*.html reftests to WPT. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44312 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/eb00222e5577
Export MathML dir-* tests to WPT. r=emilio
https://hg.mozilla.org/integration/autoland/rev/6c31dd56c2b2
Convert mo@accent tests to internal WPT tests. r=emilio
https://hg.mozilla.org/integration/autoland/rev/607f0b698ed2
Export some dynamic reftests to WPT. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44351 for changes under testing/web-platform/tests
Target Milestone: --- → 124 Branch
Upstream PR was closed without merging

operator-1.xhtml verifies negative values mo@lspace/rspace but support
and interpretation in MathML Core is unclear at this point [1] so keep
it as internal for now. This also introduces a new negative-lengths
subdirectory for handling similar tests.

[1] https://github.com/w3c/mathml-core/issues/132

Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Attachment #9377889 - Attachment description: WIP: Bug 1876684 - Convert operator-1.xhtml to internal WPT test. r=emilio → Bug 1876684 - Convert operator-1.xhtml to internal WPT test. r=emilio

This tests color of <mtext href> links. Although links were mentioned
in a previous draft of MathML Core, they have been removed from the
current version and adding them back is pending consensus. However,
upstream WPT still contains tests for MathML links so it makes sense
to have all of these tentative tests.

This commit exports link-001.html as a tentative mismatch reftest
with proper renaming (note that the <link rel="mismatch"> refers to a
non-existent link-color-001-ref.xhtml file).

Similarly, all the existing tests assuming support for href are
renamed as 'tentative' tests.

Finally, we also remove a few annotations from bug 1798871.

There is no behavior change.

  • mpadded-1/2/3.html, mpadded-1-2.html: These are testing visual
    rendering of two nested mpadded elements with basic attribute values
    that are accepted by MathML Core.

  • mpadded-4.html: This is testing mpadded attribute with pseudo
    units, which are not supported by MathML Core, so convert to
    internal WPT test.

  • mpadded-5/6: These are testing negative values of some mpadded
    attributes whose interpretation or support is unclear in MathML
    Core. So convert to internal WPT tests for now.

Attachment #9377922 - Attachment description: WIP: Bug 1876684 - Export some MathML mpadded reftests to WPT. r=emilio → Bug 1876684 - Export some MathML mpadded reftests to WPT. r=emilio
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/919bd2893087
Convert operator-1.xhtml to internal WPT test. r=emilio
https://hg.mozilla.org/integration/autoland/rev/5ec8a1a09553
Export link-001.html as a tentative WPT. r=emilio
https://hg.mozilla.org/integration/autoland/rev/a55c77e16ea8
Export some MathML mpadded reftests to WPT. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44391 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Blocks: 1882817

Opened bug 1882817 as a follow-up.

Status: NEW → RESOLVED
Closed: 4 months ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: