[csswg-drafts] [css-fonts][css-conditional] Case of font-technology feature queries. (#6621)

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

== [css-fonts][css-conditional] Case of font-technology feature queries. ==
Context: I'm about to harmonize the syntax used in CSS Fonts 4 `@font-face src` to that used in CSS Conditional 4 feature queries. Currently the former uses `color(COLRv1)` while the latter uses `color-colrv1`.

font-technology feature queries are (I believe) ascii-case-insensitive. 

For those which are defined by OpenType table names (where case is significant), should the examples 

1. use the casing from the OpenType specification (which is what the [relevant section of CSS Fonts 4 currently does](https://drafts.csswg.org/css-fonts-4/#font-face-src-parsing) ) - for example `sbix`,  `CBDT`
2. use consistent lower case (which is what the [relevant section of CSS Conditional 4 currently does](https://drafts.csswg.org/css-conditional-4/#at-supports-ext)) - for example `color-sbix`, `color-cbdt`

I'm tending towards the latter, with the move to hyphenated rather than functional form.

@LeaVerou @fantasai @litherum @drott 


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


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

Received on Thursday, 16 September 2021 18:17:10 UTC