aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/selector.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-02-19 21:35:33 +0000
committerJohn Resig <jeresig@gmail.com>2009-02-19 21:35:33 +0000
commitdb8623ebc83b26d1862248083f51bb6ecc0c596b (patch)
tree756d2c87436c76b27b5eaf423125683003875069 /test/unit/selector.js
parent2a600c13efd4c6367402ae51f1e9d819585eda7d (diff)
downloadjquery-db8623ebc83b26d1862248083f51bb6ecc0c596b.tar.gz
jquery-db8623ebc83b26d1862248083f51bb6ecc0c596b.zip
Fixed one of the selector tests that was reporting incorrectly in browsers that actually supported type="search" inputs.
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r--test/unit/selector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js
index 3b450006b..42624f213 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -385,7 +385,7 @@ test("pseudo (:) selectors", function() {
t( "Form element :input", "#form :input", ["text1", "text2", "radio1", "radio2", "check1", "check2", "hidden1", "hidden2", "name", "search", "button", "area1", "select1", "select2", "select3"] );
t( "Form element :radio", "#form :radio", ["radio1", "radio2"] );
t( "Form element :checkbox", "#form :checkbox", ["check1", "check2"] );
- t( "Form element :text", "#form :text", ["text1", "text2", "hidden2", "name", "search"] );
+ t( "Form element :text", "#form :text:not(#search)", ["text1", "text2", "hidden2", "name"] );
t( "Form element :radio:checked", "#form :radio:checked", ["radio2"] );
t( "Form element :checkbox:checked", "#form :checkbox:checked", ["check1"] );
t( "Form element :radio:checked, :checkbox:checked", "#form :radio:checked, #form :checkbox:checked", ["radio2", "check1"] );