Closed Bug 2091614 Opened 7 days ago Closed 3 days ago

[wpt-sync] Sync PR 64511 - wpt: Wait for web fonts before measuring in Ahem-based testharness tests

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64511 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64511
Details from upstream follow.

Gabriele Cabrini <gabriele@gabrielecabrini.it> wrote:

wpt: Wait for web fonts before measuring in Ahem-based testharness tests

These tests read layout synchronously while the page is parsing, before the
Ahem web font from /fonts/ahem.css has loaded. Their measurements then use a
fallback font's metrics, and the results depend on load timing. Run the
measurements after document.fonts.ready so the results are deterministic.

With the font loaded, every subtest of
block-in-inline-self-collapsing-margin-001.html passes, so its expectation
file is removed.

Fixes #<!-- nolink -->49500
Fixes #<!-- nolink -->49491
Fixes #<!-- nolink -->49488
Fixes #<!-- nolink -->49487
Fixes #<!-- nolink -->43763
Reviewed in servo/servo#49502

PR 64511 applied with additional changes from upstream: 48bff3dd0a320fa17742219a54f825b267e564e1, 5d5df59e49930188135cd1716f424106566ec2c7, 8323693c7f5a5990585693f866cd84a950ed5d55, f4d0cb0800507836035fed9251d67fe671b1a6e1

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

Try push failed to land: Lando job 118575 for the try push is FAILED:
Problem while applying patch in revision None:

hg error in cmd: hg import -s 95 --date 1794492650 0 --user moz-wptsync-bot <wptsync@mozilla.com> --logfile /tmp/tmpkmu909zxmsg /tmp/tmpmd5d0qs7diff: applying /tmp/tmpmd5d0qs7diff

file testing/web-platform/tests/css/css-break/box-decoration-break-clone-block-in-inline-001.html already exists
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/css/css-break/box-decoration-break-clone-block-in-inline-001.html.rej
abort: patch failed to apply

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 5 tests and 5 subtests

Status Summary

Firefox

OK : 5
PASS: 28
FAIL: 4

Chrome

OK : 5
PASS: 32

Safari

OK : 5
PASS: 32

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.