diff options
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/css.js b/src/css.js index 0aa9d0e9c..d9104ad3f 100644 --- a/src/css.js +++ b/src/css.js @@ -428,6 +428,16 @@ jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, } ); +// Support: Android 2.3 +jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight, + function( elem, computed ) { + if ( computed ) { + return swap( elem, { "display": "inline-block" }, + curCSS, [ elem, "marginRight" ] ); + } + } +); + // These hooks are used by animate to expand properties jQuery.each( { margin: "", |