diff --git a/src/css.js b/src/css.js index 0f90f0b6a..4b1f91440 100644 --- a/src/css.js +++ b/src/css.js @@ -32,8 +32,8 @@ var cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 + letterSpacing: "0", + fontWeight: "400" }, cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; diff --git a/test/unit/css.js b/test/unit/css.js index 2209f1a40..e084ebf60 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -871,12 +871,13 @@ testIframeWithCallback( "css('width') should work correctly before document read ); test("certain css values of 'normal' should be convertable to a number, see #8627", function() { - expect ( 2 ); + expect ( 3 ); var el = jQuery("