[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)
Tracking
()
| 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
| Assignee | ||
Comment 1•7 days ago
|
||
PR 64511 applied with additional changes from upstream: 48bff3dd0a320fa17742219a54f825b267e564e1, 5d5df59e49930188135cd1716f424106566ec2c7, 8323693c7f5a5990585693f866cd84a950ed5d55, f4d0cb0800507836035fed9251d67fe671b1a6e1
| Assignee | ||
Updated•7 days ago
|
| Assignee | ||
Comment 2•6 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=118575
| Assignee | ||
Comment 3•5 days ago
|
||
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
| Assignee | ||
Comment 4•5 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=118974
| Assignee | ||
Comment 5•5 days ago
|
||
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
Details
Firefox-only Failures
- /css/CSS2/linebox/inline-negative-margin-001.html [wpt.fyi]
- [data-expected-height] 11:
FAILlinked bug:Bug 1976354
- [data-expected-height] 11:
- /css/css-break/box-decoration-break-clone-block-in-inline-001.html [wpt.fyi]
- An empty inline box between two block level boxes does not add a line:
FAILlinked bug:Bug 2088777 - Two block level boxes with only an empty inline box in-between are adjacent:
FAILlinked bug:Bug 2088777 - The empty inline box between the two block level boxes has no size:
FAILlinked bug:Bug 2088777
- An empty inline box between two block level boxes does not add a line:
New Tests That Don't Pass
- /css/CSS2/linebox/inline-negative-margin-001.html [wpt.fyi]
- [data-expected-height] 11:
FAIL(Chrome:PASS, Safari:PASS)
- [data-expected-height] 11:
- /css/css-break/box-decoration-break-clone-block-in-inline-001.html [wpt.fyi]
- An empty inline box between two block level boxes does not add a line:
FAIL(Chrome:PASS, Safari:PASS) - Two block level boxes with only an empty inline box in-between are adjacent:
FAIL(Chrome:PASS, Safari:PASS) - The empty inline box between the two block level boxes has no size:
FAIL(Chrome:PASS, Safari:PASS)
- An empty inline box between two block level boxes does not add a line:
Comment 7•3 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/af51826cd29d
https://hg.mozilla.org/mozilla-central/rev/e1f4a7fc7b1c
Description
•