From: jeresig Date: Wed, 13 Oct 2010 18:27:44 +0000 (-0400) Subject: Change font size to 15px in the test to fix a false negative. Thanks @jitter for... X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=cd8f4917ba1a6605b618fef1ac37b370604cd58b Change font size to 15px in the test to fix a false negative. Thanks @jitter for the catch in 73e4ef27f0d0a92e573092729107ca5572d52292. --- diff --git a/test/unit/css.js b/test/unit/css.js index b6063b7..4921391 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -113,8 +113,8 @@ test("css(String, Object)", function() { // using contents will get comments regular, text, and comment nodes var j = jQuery("#nonnodes").contents(); - j.css("fontSize", "1px"); - equals( j.css("fontSize"), "1px", "Check node,textnode,comment css works" ); + j.css("fontSize", "15px"); + equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" ); // opera sometimes doesn't update 'display' correctly, see #2037 jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML