[csswg-drafts] [css-fonts-4] “Font fetching requirements” doesn’t fully specify necessary requirements (#6076)

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

== [css-fonts-4] “Font fetching requirements” doesn’t fully specify necessary requirements ==
The *Font fetching requirements* section of the CSS Fonts 4 spec doesn’t fully specify the requirements necessary for a UA to actually perform a font-fetch request and do something with the response.

https://drafts.csswg.org/css-fonts-4/#font-fetching-requirements

A patch (https://github.com/w3c/csswg-drafts/pull/5838) was recently merged that I wrote to add a part of the necessary requirements; but even with that change in place, there are still missing pieces:

* The spec text defines how to construct a request but should also explicitly set the request mode to `cors`.
* The spec doesn’t define what to do with the request; it needs to have something like, “Let *response* be the result of _∞fetching∞_ *request*, where _∞fetching∞_ links to the fetch algorithm in the Fetch spec.
* The spec doesn’t define what to to with the response it gets back.

@annevk

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


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

Received on Thursday, 4 March 2021 12:03:39 UTC