aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2006-09-22 21:26:03 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2006-09-22 21:26:03 +0000
commitb240975a919eacfdaf14a77bb8e270502133e2c4 (patch)
tree5dec0446b8cfe8902fad48a673fdce3fe502229d /src/jquery
parent94b0bf5f2b7a4003196a679649567a13d0f13ad0 (diff)
downloadjquery-b240975a919eacfdaf14a77bb8e270502133e2c4.tar.gz
jquery-b240975a919eacfdaf14a77bb8e270502133e2c4.zip
Added some more tests for weird form selection expressions
Diffstat (limited to 'src/jquery')
-rw-r--r--src/jquery/jquery.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index b7715be35..5861b2d9b 100644
--- a/src/jquery/jquery.js
+++ b/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"]);