From 3527e8f6745786e65dc209f1518372f3270a9920 Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 3 Oct 2006 09:40:16 +0000 Subject: [PATCH] css('display') works slightly differently in Safari. Also, the test suite having doesn't work in Safari, at all. Fixed to be standards compliant. --- build/test/index.html | 8 ++++---- src/jquery/jquery.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/test/index.html b/build/test/index.html index 048eec1..5666d6e 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 d5c7900..deb214b 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 -- 1.7.10.4