[csswg-drafts] [css-font-loading-3] FontFace.load() doesn't switch the FontFaceSet to `loading` (#13235)

smfr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-font-loading-3] FontFace.load() doesn't switch the FontFaceSet to `loading` ==
Reading the FontFace [load() steps](https://drafts.csswg.org/css-font-loading/#font-face-load), they don't seem to [switch the FontFaceSet to loading](https://drafts.csswg.org/css-font-loading/#switch-the-fontfaceset-to-loading), despite implementations doing so. They only say what happens "When the load operation completes".

Test is:
```
<style id="style">
@font-face {
    font-family: "WebFont";
    src: url("../../resources/Ahem.ttf") format("truetype");
}
</style>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<script>
description("This function makes sure document.fonts.status gets updated after style changes.");
let fonts = document.fonts;
shouldBeEqualToString("fonts.status", "loaded");
fonts.values().next().value.load();
shouldBeEqualToString("fonts.status", "loading");
document.getElementById("head").removeChild(document.getElementById("style"));
shouldBeEqualToString("fonts.status", "loaded");
</script>
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13235 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 18 December 2025 00:05:27 UTC