Re: [csswg-drafts] [css-fonts] @font-face src: url() format() keywords vs. strings ambiguous in spec (#6328)

Since we did have `"woff-variations"` etc. for a while, for the serialisation, I suggest the following steps:

1. If the specified format was a valid keyword, output the keyword/identifier.
2. If the specified format was of string type and matched one of the format keywords, output the keyword/identifier.
3. If the specified format was of string type and was one of `"woff-variations"`, `"woff2-variations"`, `"opentype-variations"`, `"truetype-variations"` output as string. 
4. If supported technologies were listed, output "supports". 
5. For each supported technology, output as keyword/identifier/function, omitting duplicates. 




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


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

Received on Monday, 7 June 2021 15:31:15 UTC