From: John Resig Date: Tue, 3 Oct 2006 09:40:16 +0000 (+0000) Subject: css('display') works slightly differently in Safari. Also, the test suite having... X-Git-Tag: 1.0.2~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3527e8f6745786e65dc209f1518372f3270a9920;p=jquery.git css('display') works slightly differently in Safari. Also, the test suite having doesn't work in Safari, at all. Fixed to be standards compliant. --- diff --git a/build/test/index.html b/build/test/index.html index 048eec17c..5666d6e09 100644 --- a/build/test/index.html +++ b/build/test/index.html @@ -39,8 +39,8 @@ - - + + @@ -62,12 +62,12 @@ - + diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index d5c790007..deb214bcd 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -493,7 +493,7 @@ jQuery.fn = jQuery.prototype = { * representation of itself. Eg. fontWeight, fontSize, fontFamily, borderWidth, * borderStyle, borderBottomWidth etc. * - * @test ok( $('#foo').css("display") == 'block', 'Check for css property "display"'); + * @test ok( $('#main').css("display") == 'none', 'Check for css property "display"'); * * @name css * @type Object