prefixfree icon indicating copy to clipboard operation
prefixfree copied to clipboard

filter doesn't work without prefix

Open codingWithJazz opened this issue 11 years ago • 5 comments

codingWithJazz avatar Apr 01 '13 10:04 codingWithJazz

+1

nicolasbadia avatar Dec 18 '13 10:12 nicolasbadia

Yes, this is a known issue. The problem is that feature detection fails, because browsers already support an unprefixed filter property due to SVG. Even if we special case it, we still need to be able to distinguish SVG uses from CSS uses and only prefix the latter. It seems that it would require tons of code, and not with great performance, so maybe it would be better as a plugin. But I'm open to ideas if anyone has any good ones about how to do it...

LeaVerou avatar Dec 18 '13 12:12 LeaVerou

+1. The CSS filter property is the one place in my app where I have to use vendor prefixes, and it sticks out like a sore thumb.

fr0 avatar Aug 07 '14 19:08 fr0

Is suppose this is the reason it fails for clip-path as well.

ghost avatar Aug 09 '14 19:08 ghost

Yup. :(

LeaVerou avatar Aug 09 '14 19:08 LeaVerou