-
Notifications
You must be signed in to change notification settings - Fork 244
Description
The specification has updated the syntax, which has been implemented in Firefox 105.
e.g.
// format() function must precede tech() if both are present
{ src: 'url("foo.ttf") format(opentype) tech(feature-opentype)', valid: true },
{ src: 'url("foo.ttf") tech(feature-opentype) format(opentype)', valid: false },Spec: https://drafts.csswg.org/css-fonts/#font-face-src-parsing
<url> [ format(<font-format>)]? [ tech( <font-tech>#)]? | local(<font-face-name>)
<font-format>= [<string> | collection | embedded-opentype | opentype
| svg | truetype | woff | woff2 ]
<font-tech>= [<font-feature-tech> | <color-font-tech>
| variations | palettes | incremental ]
<font-feature-tech>= [feature-opentype | feature-aat | feature-graphite]
<color-font-tech>= [color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]
See also:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels