Skip to content
Browse files
css('display') works slightly differently in Safari. Also, the test s…
…uite having <input checked/> doesn't work in Safari, at all. Fixed to be standards compliant.
  • Loading branch information
jeresig committed Oct 3, 2006
1 parent 3672372 commit 3527e8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
@@ -39,8 +39,8 @@ <h1>jQuery - Test Suite</h1>
<input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
<input type="radio" name="radio1" id="radio1"/>

<input type="radio" name="radio2" id="radio2" checked/>
<input type="checkbox" name="check" id="check1" checked/>
<input type="radio" name="radio2" id="radio2" checked="checked"/>
<input type="checkbox" name="check" id="check1" checked="checked"/>
<input type="checkbox" id="check2"/>

<input type="hidden" name="hidden" id="hidden1"/>
@@ -62,12 +62,12 @@ <h1>jQuery - Test Suite</h1>
<option id="option2a" value="">Nothing</option>
<option id="option2b" value="1">1</option>
<option id="option2c" value="2">2</option>
<option id="option2d" selected value="3">3</option>
<option id="option2d" selected="selected" value="3">3</option>
<select name="select3" id="select3" multiple="multiple">
<option id="option3a" value="">Nothing</option>
<option id="option3b" selected="selected" value="1">1</option>
<option id="option3c" selected value="2">2</option>
<option id="option3c" selected="selected" value="2">2</option>
<option id="option3d" value="3">3</option>
@@ -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

0 comments on commit 3527e8f

Please sign in to comment.