]> source.dussan.org Git - jquery.git/commitdiff
css('display') works slightly differently in Safari. Also, the test suite having...
authorJohn Resig <jeresig@gmail.com>
Tue, 3 Oct 2006 09:40:16 +0000 (09:40 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 3 Oct 2006 09:40:16 +0000 (09:40 +0000)
build/test/index.html
src/jquery/jquery.js

index 048eec17cb795bcd973e536ca57ae8b774183a0e..5666d6e09b7a463c3fe23457cdf9cd67691844a6 100644 (file)
@@ -39,8 +39,8 @@
                        <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"/>
                                <option id="option2a" value="">Nothing</option>\r
                                <option id="option2b" value="1">1</option>\r
                                <option id="option2c" value="2">2</option>\r
-                               <option id="option2d" selected value="3">3</option>\r
+                               <option id="option2d" selected="selected" value="3">3</option>\r
                        </select>\r
                        <select name="select3" id="select3" multiple="multiple">\r
                                <option id="option3a" value="">Nothing</option>\r
                                <option id="option3b" selected="selected" value="1">1</option>\r
-                               <option id="option3c" selected value="2">2</option>\r
+                               <option id="option3c" selected="selected" value="2">2</option>\r
                                <option id="option3d" value="3">3</option>\r
                        </select>
                </form>
index d5c790007fe4b49c6276228a33b8bf45eb6600d1..deb214bcd7f3f34ea4507a6a9c06920a9e4f0c84 100644 (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