New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-fonts][css-conditional] Case of font-technology feature queries. #6621
Comments
No strong opinion. I personally don't always exactly remember the OpenType case for all of them anyway, and perhaps lowercase makes the examples less confusing, so going with lowercase sounds fine to me. |
Very slightly tending towards lowercase, as it's more consistent with the rest of CSS, even though it's less consistent with OpenType. |
I believe there is little danger of uppercase table tags being reused in lowercase (unlike, say, variable axis names when they become registered). So Chris’s suggestion sounds safe. Lowercase table names are simply reserved by Apple. |
As these will be language-defined keywords, they should definitely be ASCII case-insensitive. How we write them in the spec doesn't matter too much, but I also lean towards consistent lowercase (the only place I violate that in my specs is the Are there any OpenType keywords where case actually distinguishes things, or is it just that they have a particular defined casing? |
I'm not aware of any tag which conflicts with another one if both are uppercased. Unless an Apple-reserved one became standardized without a name change. |
OK lets go for all-lowercase |
FWIW, AAT has |
Thanks, @khaledhosny ! Great example. Although so far, we don't use that table name in the font-technology strings, so it won't be a problem. (We do allow differentiating between OpenType, AAT and Graphite layout, though). |
I prefer lowercase, which is consistent with other parts of CSS. And many CSS developers are not clear about the case of table names in OpenType. |
I'm seeing a general preference for lowercase to be used in the specification. |
As agreed, in the newly relocated Font Technologies section (which was previously a sub-sub section inside the |
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 usescolor(COLRv1)
while the latter usescolor-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
sbix
,CBDT
color-sbix
,color-cbdt
I'm tending towards the latter, with the move to hyphenated rather than functional form.
@LeaVerou @fantasai @litherum @drott
The text was updated successfully, but these errors were encountered: