You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.
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).
On line 17, changed:
(divStyle.boxShadow === ''? 'BoxShadow' :
to:
(divStyle.boxShadow === ''? 'boxShadow' :
On line 30, changed:
if ( support.boxShadow ) {
Surrounded the $.cssHooks.boxShadow object with the following conditional:
if ( support.boxShadow !== 'boxShadow') { ... }
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
The text was updated successfully, but these errors were encountered:
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).
(divStyle.boxShadow === ''? 'BoxShadow' :
to:
(divStyle.boxShadow === ''? 'boxShadow' :
if ( support.boxShadow ) {
if ( support.boxShadow !== 'boxShadow') { ... }
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
The text was updated successfully, but these errors were encountered: