From: Jörn Zaefferer Date: Sat, 16 Sep 2006 17:09:54 +0000 (+0000) Subject: Added test for bug #190 X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=060c55bf043922401cb033117a3091ad24dbf047 Added test for bug #190 --- diff --git a/build/test/index.html b/build/test/index.html index 9ee1d4e..74539ef 100644 --- a/build/test/index.html +++ b/build/test/index.html @@ -52,7 +52,7 @@ - diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 17e2a66..9703833 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -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 * @private