Added test for bug #190
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 16 Sep 2006 17:09:54 +0000 (17:09 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 16 Sep 2006 17:09:54 +0000 (17:09 +0000)
build/test/index.html
src/jquery/jquery.js

index 9ee1d4e..74539ef 100644 (file)
@@ -52,7 +52,7 @@
                                <option id="option1c" value="2">2</option>\r
                                <option id="option1d" value="3">3</option>\r
                        </select>\r
-                       <select name="select1" id="select2">\r
+                       <select name="select2" id="select2">\r
                                <option id="option2a" value="">Nothing</option>\r
                                <option id="option2b" value="1">1</option>\r
                                <option id="option2c" value="2">2</option>\r
index 17e2a66..9703833 100644 (file)
@@ -1662,6 +1662,10 @@ jQuery.extend({
         * @test t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"]  );
         * @test t( "All Children of ID with no children", "#firstUL/*", []  );
         *
+        * @test t( ":not() Existing attribute", "input:not([@name])", ["text2", "check2"]);
+        * @test t( ":not() Equals attribute", "select:not([@name=select1])", ["select2", "select3"]);
+        * @test t( ":not() Equals quoted attribute", "select:not([@name='select1'])", ["select2", "select3"]);
+        *
         * @name $.find
         * @type Array<Element>
         * @private