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

tap-highlight-color invalid CSS #863

Closed
toplisek opened this issue Nov 13, 2018 · 4 comments
Closed

tap-highlight-color invalid CSS #863

toplisek opened this issue Nov 13, 2018 · 4 comments

Comments

@toplisek
Copy link

I have validated CSS and found an error:
Line 4
.flickity-enabled.is-draggable | Property tap-highlight-color doesn't exist : transparent

Is this an error or validator reports the wrong message?
Validator:http://jigsaw.w3.org/css-validator/validator

@desandro
Copy link
Member

Thanks for reporting this issue. This property was added as a way of future-proofing, in case future browsers adopted tap-highlight-color. Although it is technically not a valid property, its inclusion in the CSS will not affect the rendering or performance of your site.

@desandro desandro changed the title Error inside CSS when validated tap-highlight-color invalid CSS Nov 14, 2018
@toplisek
Copy link
Author

I understand but the compiler will not manage this task as validation shows an error.

@zvaehn
Copy link

zvaehn commented Jun 18, 2019

i am currently also struggling with this and i dont want to make changes in our project version, because any flickity update will overwrite those changes.

Is there a way to use it only with the browser vendor prefix?

https://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Funpkg.com%2Fflickity%402%2Fdist%2Fflickity.css&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en

desandro added a commit that referenced this issue Jun 29, 2019
use -webkit- vendor prefix only
@desandro
Copy link
Member

Flickity v2.2.1 has been released with tap-highlight-color removed. Please update!

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

No branches or pull requests

3 participants