This API is used by WPT to wait until Ahem (testing font) is loaded before capturing layout measurement. Since currently our implementation of ready() simple returns resolved promise right away, instead of actually waiting for fonts loading, a giant portion of WPT layout test are flaky.
Moreover document.fonts currently does not include fonts defined in CSS using @font-face
, so it might be a good idea to solve that first.
Related spec https://drafts.csswg.org/css-font-loading/
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too