aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-08-19 16:03:08 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-08-19 22:46:06 -0400
commit9f86dc922ed832337d246d7baf8fd397dc837346 (patch)
tree6496419f3fe5d454ea9da38f7be41914f9d77d2f /test/unit/css.js
parent2b5b4ebbd78ce10cbbe2a6f057feea615fc69629 (diff)
downloadjquery-9f86dc922ed832337d246d7baf8fd397dc837346.tar.gz
jquery-9f86dc922ed832337d246d7baf8fd397dc837346.zip
Fix #12324, line-height "normal" isn't always "1". Close gh-898.
Diffstat (limited to 'test/unit/css.js')
-rw-r--r--test/unit/css.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index dca5a08e0..30ce95fc9 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -776,11 +776,10 @@ test("css('width') and css('height') should respect box-sizing, see #11004", fun
});
test("certain css values of 'normal' should be convertable to a number, see #8627", function() {
- var el = jQuery("<div style='letter-spacing:normal;font-weight:normal;line-height:normal;'>test</div>").appendTo("#qunit-fixture");
+ var el = jQuery("<div style='letter-spacing:normal;font-weight:normal;'>test</div>").appendTo("#qunit-fixture");
ok( jQuery.isNumeric( parseFloat( el.css("letterSpacing") ) ), "css('letterSpacing') not convertable to number, see #8627" );
ok( jQuery.isNumeric( parseFloat( el.css("fontWeight") ) ), "css('fontWeight') not convertable to number, see #8627" );
- ok( jQuery.isNumeric( parseFloat( el.css("lineHeight") ) ), "css('lineHeight') not convertable to number, see #8627" );
});
test( "cssHooks - expand", function() {