<!-- this iframe is outside the #main so it won't reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves -->
<!-- this iframe is outside the #main so it won't reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves -->
<pid="firstp">See <aid="simon1"href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector"rel="bookmark">this blog entry</a> for more information.</p>
<pid="firstp">See <aid="simon1"href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector"rel="bookmark">this blog entry</a> for more information.</p>
<pid="ap">
<pid="ap">
Here are some links in a normal paragraph: <aid="google"href="http://www.google.com/"title="Google!">Google</a>,
Here are some links in a normal paragraph: <aid="google"href="http://www.google.com/"title="Google!">Google</a>,
t("Name selector with single quotes","input[name='action']",["text1"]);
t("Name selector with single quotes","input[name='action']",["text1"]);
...
@@ -169,13 +169,19 @@ test("name", function() {
...
@@ -169,13 +169,19 @@ test("name", function() {
same(jQuery("#form").find("input[name=action]").get(),q("text1"),"Name selector within the context of another element");
same(jQuery("#form").find("input[name=action]").get(),q("text1"),"Name selector within the context of another element");
same(jQuery("#form").find("input[name='foo[bar]']").get(),q("hidden2"),"Name selector for grouped form element within the context of another element");
same(jQuery("#form").find("input[name='foo[bar]']").get(),q("hidden2"),"Name selector for grouped form element within the context of another element");
t("Form element :input","#form :input",["text1","text2","radio1","radio2","check1","check2","hidden1","hidden2","name","search","button","area1","select1","select2","select3"]);
t("Form element :input","#form :input",["text1","text2","radio1","radio2","check1","check2","hidden1","hidden2","name","search","button","area1","select1","select2","select3","select4","select5"]);
t("Form element :radio","#form :radio",["radio1","radio2"]);
t("Form element :radio","#form :radio",["radio1","radio2"]);
t("Form element :checkbox","#form :checkbox",["check1","check2"]);
t("Form element :checkbox","#form :checkbox",["check1","check2"]);
t("Form element :text","#form :text:not(#search)",["text1","text2","hidden2","name"]);
t("Form element :text","#form :text:not(#search)",["text1","text2","hidden2","name"]);