aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/css/support.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/css/support.js b/src/css/support.js
index c7229e93a..93459c6b6 100644
--- a/src/css/support.js
+++ b/src/css/support.js
@@ -54,9 +54,9 @@ support.reliableTrDimensions = function() {
}
trStyle = window.getComputedStyle( tr );
- reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +
- parseInt( trStyle.borderTopWidth, 10 ) +
- parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;
+ reliableTrDimensionsVal = ( Math.round( parseFloat( trStyle.height ) ) +
+ Math.round( parseFloat( trStyle.borderTopWidth ) ) +
+ Math.round( parseFloat( trStyle.borderBottomWidth ) ) ) === tr.offsetHeight;
documentElement.removeChild( table );
}