mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 03:55:17 -05:00
Made sure that css() in IE handles negative non-px values correctly. Fixes #3331.
This commit is contained in:
@@ -5,8 +5,8 @@ var rexclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
|
||||
rfloat = /float/i,
|
||||
rdashAlpha = /-([a-z])/ig,
|
||||
rupper = /([A-Z])/g,
|
||||
rnumpx = /^\d+(?:px)?$/i,
|
||||
rnum = /^\d/,
|
||||
rnumpx = /^-?\d+(?:px)?$/i,
|
||||
rnum = /^-?\d/,
|
||||
|
||||
// cache check for defaultView.getComputedStyle
|
||||
getComputedStyle = document.defaultView && document.defaultView.getComputedStyle,
|
||||
|
||||
Reference in New Issue
Block a user