X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=97038331c668237e08f5eb331cc535aa8b38e219;hb=060c55bf043922401cb033117a3091ad24dbf047;hp=dca186744cd58d79818b63aab2a5f44bdd846be6;hpb=1293e80ff9afa96198c81fa79aa267a4ee44d9d1;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index dca1867..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 @@ -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)", /**