Made sure that css() in IE handles negative non-px values correctly. Fixes #3331.
This commit is contained in:
parent
6071e939c7
commit
aae0617c83
2 changed files with 6 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue