Skip to content

[css-fonts][css-conditional] Case of font-technology feature queries. #6621

@svgeesus

Description

@svgeesus

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 ) - for example sbix, CBDT
  2. use consistent lower case (which is what the relevant section of CSS Conditional 4 currently does) - 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions