- From: Anne van Kesteren via GitHub <noreply@w3.org>
- Date: Fri, 12 Dec 2025 07:10:48 +0000
- To: public-css-archive@w3.org
annevk has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-font-loading] switch the FontFaceSet to loaded resolves promise incorrectly == In [switch the FontFaceSet to loaded](https://drafts.csswg.org/css-font-loading/#switch-the-fontfaceset-to-loaded) the promise is resolved outside of the task. This is not what is implemented in Chromium and Gecko and technically results in undefined behavior. It should be resolved inside the task. (Meaning the promise callbacks run after the event listener.) Also consider removing the word 'synchronously' as it just adds confusion here and doesn't mean anything. And ideally switch to a more modern queuing algorithm such as queue a global task so the task source and relevant global object are also specified. (This problem might occur multiple times. I only checked this one instance.) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13209 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 December 2025 07:10:49 UTC