Closed Bug 1882978 Opened 7 months ago Closed 7 months ago

Convert MathML mirror-op tests to WPT

Categories

(Core :: MathML, task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: fredw, Assigned: fredw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

These were added in bug 208309 basically verifying operator mirroring in RTL.

However, mirror-1 uses a quite imprecise scaleX and has many fuzzy annotations. I believe we should rewrite it to weaker but more reliable != reftests, otherwise it's not super useful.

These tests were introduced in bug 208309 and verify mirroring of some
basic operators in RTL mode, which Gecko implements in various ways
(Unicode character-level mirroring, RTLM glyph-level mirroring, scale
transform). This is currently not really defined in MathML Core so for
now keep them as internal WPT tests.

All tests but mirror-op-1.html uses a mismatch test approach: just
verify that the operator in RTL mode does render the same as the
operator in LTR mode. mirror-op-1.html is a match tests relying on
a scaleX transform to emulate mirroring, but that's not quite
reliable and it has many fuzzy annotations. So instead, we split it
into multiple mismatch tests similar to the other ones. This is a
weaker comparison but more reliable.

Pushed by fwang@igalia.com: https://hg.mozilla.org/integration/autoland/rev/91ca88e0715e Convert MathML mirror-op tests to WPT. r=emilio
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: