expect(8);\r
isSet( $("#sndp").add("#en").add("#sap").get(), q("sndp", "en", "sap"), "Check elements from document" );\r
isSet( $("#sndp").add( $("#en")[0] ).add( $("#sap") ).get(), q("sndp", "en", "sap"), "Check elements from document" );\r
- equals( $([]).add($("#form")[0].elements).length, 15, "Check elements from array" );\r
+ ok( $([]).add($("#form")[0].elements).length >= 13, "Check elements from array" );\r
\r
// For the time being, we're discontinuing support for $(form.elements) since it's ambiguous in IE\r
// use $([]).add(form.elements) instead.\r
\r
equals( $.makeArray(/a/)[0].constructor, RegExp, "Pass makeArray a regex" );\r
\r
- equals( $.makeArray(document.getElementById('form')).length, 15, "Pass makeArray a form (treat as elements)" );\r
+ ok( $.makeArray(document.getElementById('form')).length >= 13, "Pass makeArray a form (treat as elements)" );\r
});
\ No newline at end of file