Skip to content
Permalink
Browse files

Added some more tests for weird form selection expressions

  • Loading branch information
jzaefferer committed Sep 22, 2006
1 parent 94b0bf5 commit b240975a919eacfdaf14a77bb8e270502133e2c4
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/jquery/jquery.js
@@ -1697,6 +1697,9 @@ jQuery.extend({
* @test t( "Form element :radio", ":radio", ["radio1", "radio2"] );
* @test t( "Form element :checkbox", ":checkbox", ["check1", "check2"] );
* @test t( "Form element :text", ":text", ["text1", "text2", "hidden2", "name"] );
* @test t( "Form element :radio:checked", ":radio:checked", ["radio2"] );
* @test t( "Form element :checkbox:checked", ":checkbox:checked", ["check1"] );
* @test t( "Form element :checkbox:checked, :radio:checked", ":checkbox:checked, :radio:checked", ["check1", "radio2"] );
*
* @test t( ":not() Existing attribute", "input:not([@name])", ["text2", "check2"]);
* @test t( ":not() Equals attribute", "select:not([@name=select1])", ["select2", "select3"]);

0 comments on commit b240975

Please sign in to comment.
You can’t perform that action at this time.