-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
css('clip-path', ..) not working #2489
Comments
Confirmed: http://jsfiddle.net/ha3amksf/1/. Thanks for the report. This works in Safari 8, only Chrome 43 is broken. Good news is Chrome 44 stable went out today. :) And the bug is fixed there. So I don't think there's anything for us to do here unless there are other properties that don't work in this way - if you know about sth like that, please let us know & I'll reopen. |
Sorry, I was mistaken, it's still broken: http://jsfiddle.net/ha3amksf/5/. My test case was borked. |
In my own tests I am seeing similar problems with |
I'm not sure what to do here; can you open a Chrome issue at https://crbug.com and link to it from here? If prefixed & non-prefixed property accept different syntaxes there's not a lot we can do as we only check for properties; checking if a value was applied properly and falling back to a prefixed property would be too error prone. A workaround for now would be to invoke |
Thanks! Let's see what they say.
|
I'm going to close it since I don't see a way to work around it in jQuery without introducing bugs and decreasing performance of the |
Thanks for reporting anyway. :) |
(using jQuery 2.1.4)
I have the following code:
However, it does not prefix the
clip-path
style. The following works:It seems like this rule (and maybe others?) only works in Chrome with a vendor prefix. However, since the following is true, the
css()
method assumes that the non-prefix style should work:The text was updated successfully, but these errors were encountered: