We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 569d064 commit da4d609Copy full SHA for da4d609
src/css.js
@@ -290,7 +290,7 @@ if ( window.getComputedStyle ) {
290
// Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
291
// Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
292
// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
293
- if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {
+ if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
294
width = style.width;
295
minWidth = style.minWidth;
296
maxWidth = style.maxWidth;
0 commit comments