Skip to content
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

Support for font-display #48

Closed
acupofspirt opened this issue Apr 19, 2017 · 3 comments
Closed

Support for font-display #48

acupofspirt opened this issue Apr 19, 2017 · 3 comments

Comments

@acupofspirt
Copy link

I am use CSSTree as a plugin for Gulp. And when I trying to use font-display property it fails with 'unknown property' error. Can you add support for that property?
MDN
Spec

@pepelsbey
Copy link

Yes please, font-display is quite common these days and this golden dot makes me want to disable this plugin again :(

image

@lahmatiy
Copy link
Member

lahmatiy commented Jun 15, 2018

It will be supported when CSSTree gets ability to check at-rule descriptors (soon). Some other descriptors works fine by incident – they have similar syntax as declarations with the same name, but these are all different things.

@lahmatiy
Copy link
Member

That's not an issue anymore. Since CSSTree validate at-rules in a different way starting from 1.1.0, using at-rule definitions.
Latest version of VS Code plugin should work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants