Re: [csswg-drafts] [css-fonts-4] @font-family src: should accept a specifier which lists font requirements

> > The "etc." there worries me.... leads to a lot of possible values if we define a unique new value for each combination.
> 
> Your concern with combinatorial multiplication is valid. I like your alternative.

We are now facing this with font features, font variations, and color fonts. The current system of making longer and longer hyphenated format keywords won't work in the long term.

> "woff2;tables=CPAL,FVAR"

I don't think we want more microsyntaxes in CSS. They wreak havoc on object models.

Beyond that, I don't think we have any preference for `format("opentype", requires variations)` over `format("woff2") features("CPAL,FVAR")` or vice-versa (though we probably wouldn't use the keyword `features`).

This is becoming increasingly important, and we should pick one and add it to the spec.


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

Received on Wednesday, 14 March 2018 07:28:12 UTC