Added test for #945
[jquery.git] / src / selector / selectorTest.js
index 59af2ff..d3004f0 100644 (file)
@@ -200,3 +200,9 @@ test("basic xpath", function() {
                isSet( $("/p", this).get(), q("sndp", "en", "sap"), "Check XPath context" );
        });
 });
+
+test('<input name="length"> cannot be found under IE, see #945', function() {
+       expect(2);
+       ok( $("#length").length );
+       ok( $("#lengthtest input").length );
+});