Added test for bug #190
[jquery.git] / src / jquery / jquery.js
index dca1867..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
@@ -2982,7 +2986,7 @@ jQuery.macros = {
                 * @param String expr An expression to filter the sibling Elements with
                 * @cat DOM/Traversing
                 */
-               siblings: jQuery.sibling,
+               siblings: "jQuery.sibling(a, null, true)",
 
 
                /**