brandonaaron / jquery-cssHooks

Collection of cssHooks that work with jQuery 1.4.3+
Other
478 stars 80 forks source link

boxshadow.js broken in Firefox 4 #32

Open jefffederman opened 13 years ago

jefffederman commented 13 years ago

Hi,

First of all, thanks for putting this collection of jQuery css hooks together! I found that the individual boxShadow getters and setters (e.g., boxShadowColor, boxShadowBlur), were not working properly in Firefox 4, and suspected this had something to do with the fact that Firefox 4 now supports the box-shadow property rather than the -moz-box-shadow property. I made the following changes to the code which got everything working properly on Firefox 4 and Safari 5 (control browser).

No claims that my workaround is elegant or future-proof, but the code now works as expected in Firefox 4 and Safari 5.

Cheers, Jeff

renegare commented 13 years ago

Nice one. Just tried that and it works for FireFox 4.0.1

@jefffederman not sure how all this git thing works, but can you do a pull / push with your changes. Maybe they will accept it?

M.

louisremi commented 13 years ago

I'll have a look at that, thank you for reporting this issue.