From 4e7c9b08a0fb6142755e39cfaae2f8330831008c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Sun, 25 Mar 2007 11:52:53 +0000 Subject: [PATCH] Added test for #945 --- build/test/index.html | 5 ++++- src/selector/selectorTest.js | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/build/test/index.html b/build/test/index.html index 85a7fa4..b798a09 100644 --- a/build/test/index.html +++ b/build/test/index.html @@ -85,7 +85,10 @@ Float test. - + +
+ +
diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js index 59af2ff..d3004f0 100644 --- a/src/selector/selectorTest.js +++ b/src/selector/selectorTest.js @@ -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 ); +}); -- 1.7.10.4