Skip to content

tests: Wait for fonts in baseline-source textarea tests - #49493

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
gabrielecabrini:issue/48028
Nov 1, 2026
Merged

TimvdLippe merged 1 commit into
servo:mainfrom
gabrielecabrini:issue/48028

Conversation

@gabrielecabrini

Copy link
Copy Markdown
Contributor

These tests check layout in onload, which can run before the Ahem font has loaded. Wait for document.fonts.ready first, as suggested in the issue.

Testing: These are test changes.
Fixes: #48028

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#64500) with upstreamable changes.

@TimvdLippe TimvdLippe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great thanks!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 1, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Nov 1, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 1, 2026
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 1, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Nov 1, 2026
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Nov 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 1, 2026
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 1, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Nov 1, 2026
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Nov 1, 2026
Merged via the queue into servo:main with commit ec4d71b Nov 1, 2026
50 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 1, 2026
@gabrielecabrini
gabrielecabrini deleted the issue/48028 branch November 1, 2026 21:24
jschwe pushed a commit to jschwe/servo that referenced this pull request Nov 2, 2026
These tests measure layout in `onload`, which can fire before web fonts
have loaded. Wait for `document.fonts.ready` first, as in servo#49493 and
servo#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: servo#49075
Fixes: servo#49301
Fixes: servo#47132
Fixes: servo#47104
Fixes: servo#47563
Fixes: servo#47257
Fixes: servo#49238

---------

Signed-off-by: Gabriele Cabrini <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
Co-authored-by: Euclid Ye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent failure in /css/css-inline/baseline-source/baseline-source-first-textarea-001.tentative.html

4 participants