Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[resources] Wait for document.fonts.ready in checkLayout() tests #49556

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathan-j-lee
Copy link
Contributor

@jonathan-j-lee jonathan-j-lee commented Dec 5, 2024

Implements most of web-platform-tests/rfcs#213 and fixes up tests that use checkLayout() with extra test()s or other synchronous code, which now have to live in promise_setup() or promise_test()s to be part of the promise test queue.

A follow-up PR will clean up obsolete document.fonts.ready.then(() => checkLayout(...)).

Implements most of web-platform-tests/rfcs#213
and fixes up tests that use `checkLayout()` with extra `test()`s or
other synchronous code, which now have to live in `promise_setup()` or
`promise_test()`s to be part of the promise test queue.

A follow-up PR will clean up obsolete `document.fonts.ready.then(() =>
checkLayout(...)`.
@jonathan-j-lee jonathan-j-lee force-pushed the check-layout/wait-for-web-fonts branch from 228017f to 282130f Compare December 5, 2024 22:02
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.

1 participant