Closed Bug 1883840 Opened 4 months ago Closed 4 months ago

Export layout/reftests/radicalbar*.html 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)

Cloning bug 1850661.

I commented that "we cannot reset the zoom level after the screenshot and that affects subsequent tests." ; however, it seems placing a listener on "beforeunload" is enough to do the trick.

In this patch, MathML reftests radicalbar*.html are converted to
WPT. These tests rely on the reftest-zoom attribute to verify that
the radical bar does not disappear at smaller zoom level (bug 1011020).
However, this attribute is not supported by WPT. So we keep them as
internal tests for now, emulating support for the reftest-zoom
attribute via the SpecialPowers.*fullZoom API.

It was verified that reverting the patch for bug 1011020 make these
reftests fail, contrary to alternative approaches (CSS zoom property and
`SpecialPowers.snapshotWindowWithOptions). Please refer to bug 1850661
for the initial attempts.

A common/reftest-zoom.js file is introduced so that it could be used
by similar tests in the future. Infrastructure tests are added to verify
the basic behavior.

Assignee: nobody → fwang
Attachment #9389615 - Attachment description: WIP: Bug 1883840 - Export layout/reftests/radicalbar*.html to WPT. r=emilio → Bug 1883840 - Export layout/reftests/radicalbar*.html to WPT. r=emilio
Status: NEW → ASSIGNED
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/faa37ecbbdd6
Export layout/reftests/radicalbar*.html to WPT. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Regressions: 1884505
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: