diff options
Diffstat (limited to 'src/css/support.js')
-rw-r--r-- | src/css/support.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/css/support.js b/src/css/support.js index 1078c0905..4a8fc87ac 100644 --- a/src/css/support.js +++ b/src/css/support.js @@ -94,11 +94,10 @@ define([ // Support: IE<9 // Assume reasonable values in the absence of getComputedStyle - pixelPositionVal = false; - reliableMarginRightVal = boxSizingReliableVal = true; + pixelPositionVal = boxSizingReliableVal = false; + reliableMarginRightVal = true; - // Support: node.js jsdom - // Don't assume that getComputedStyle is a property of the global object + // Check for getComputedStyle so that this code is not run in IE<9. if ( window.getComputedStyle ) { pixelPositionVal = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; boxSizingReliableVal = |