Re: [csswg-drafts] [css-fonts] should supported tech() be validated during parsing or loading? (#8793)

> It seems like a queue of operations:

>   1. does it parse
>   2. is it supported
>   3. can you fetch it
>   4. use it

That seems straightforward enough, yes.

But the issue is that the current spec text:

> If parsing a component value results in a parsing error **or its format or tech are unsupported**, do not add it to the list of supported sources.

> If there are no **supported** entries at the end of this process, the value for the [src](https://www.w3.org/TR/css-fonts-4/#descdef-font-face-src) descriptor is a **parse error**.

says (as I read it) that if the entries in the src descriptor are **parsed** successfully, but not **supported** by the UA, this results in a **parse error**. It shouldn't; the descriptor was *parsed* fine, it just resulted in a value that is not *supported* and therefore should not be *fetched*.

-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8793#issuecomment-1631202452 using your GitHub account


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

Received on Tuesday, 11 July 2023 17:20:18 UTC