Added test for bug #190

This commit is contained in:
Jörn Zaefferer 2006-09-16 17:09:54 +00:00
parent fa2aaf27c2
commit 060c55bf04
2 changed files with 5 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<option id="option1c" value="2">2</option>
<option id="option1d" value="3">3</option>
</select>
<select name="select1" id="select2">
<select name="select2" id="select2">
<option id="option2a" value="">Nothing</option>
<option id="option2b" value="1">1</option>
<option id="option2c" value="2">2</option>

View 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