- } else if ( force !== false && curCSS ) {
- ret = curCSS( elem, name, origName );
- }
+ css: function( elem, name, value, extra ) {
+ // Make sure that we're working with the right name
+ var ret, origName = name.replace( rdashAlpha, fcamelCase ),
+ hooks = jQuery.cssHooks[ origName ];
+
+ name = jQuery.cssProps[ origName ] || origName;