css('display') works slightly differently in Safari. Also, the test suite having <input checked/> doesn't work in Safari, at all. Fixed to be standards compliant.

This commit is contained in:
John Resig 2006-10-03 09:40:16 +00:00
parent 3672372c18
commit 3527e8f674
2 changed files with 5 additions and 5 deletions

View file

@ -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