Skip to content

wpt: Wait for web fonts in onload layout tests - #64517

Merged
servo-wpt-sync merged 2 commits into
web-platform-tests:masterfrom
servo:servo_export_49510
Nov 2, 2026
Merged

servo-wpt-sync merged 2 commits into
web-platform-tests:masterfrom
servo:servo_export_49510

Conversation

@servo-wpt-sync

@servo-wpt-sync servo-wpt-sync commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

These tests measure layout in onload, which can fire before web fonts
have loaded. Wait for document.fonts.ready first, as in #49493 and
#49502.

This also removes unused Ahem css in related test files.

Testing: These are test changes. With the font response delayed by 1s
(wptserve trickle pipe), the old tests fail on every run and the
updated tests pass on every run.
Fixes: #49075
Fixes: #49301
Fixes: #47132
Fixes: #47104
Fixes: #47563
Fixes: #47257
Fixes: #49238
Reviewed in servo/servo#49510

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

@servo-wpt-sync servo-wpt-sync changed the title tests: Wait for web fonts in onload layout tests wpt: Wait for web fonts in onload layout tests Nov 2, 2026
@servo-wpt-sync
servo-wpt-sync merged commit 01cd37d into web-platform-tests:master Nov 2, 2026
30 checks passed
@servo-wpt-sync
servo-wpt-sync deleted the servo_export_49510 branch November 2, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants