w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.5k stars 664 forks source link

[css-fonts] @font-face doesn't accept individual font-variant-* descriptors #790

Open litherum opened 7 years ago

litherum commented 7 years ago

https://drafts.csswg.org/css-fonts/#font-rend-desc

the @font-face block accepts the font-variant shorthand descriptor, but not the individual font-variant-* descriptors. It would be convenient for web authors to be able to specify either of them inside an @font-face block.

svgeesus commented 7 years ago

Yes, it would.

Crissov commented 7 years ago

… for some of them.

svgeesus commented 6 years ago

Given that current implementations don't accept the longhand descriptors being proposed, I think this should be pushed to css fonts 4

litherum commented 6 years ago

Sure. 😢

fantasai commented 5 years ago

Reopening since this was pushed to css-fonts-4, and we're working on css-fonts-4...

svgeesus commented 5 years ago

OK so this just requires: