aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/css.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/css.js b/src/css.js
index 3c5784aa2..2ce343300 100644
--- a/src/css.js
+++ b/src/css.js
@@ -134,11 +134,6 @@ function getWidthOrHeight( elem, name, extra ) {
val = curCSS( elem, name, styles ),
isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
- // Fall back to uncomputed css if necessary
- if ( val < 0 || val == null ) {
- val = elem.style[ name ];
- }
-
// Computed unit is not pixels. Stop here and return.
if ( rnumnonpx.test( val ) ) {
return val;