X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fselector%2FselectorTest.js;h=8200595c071ee6e5c21b784db1b6eb3556aec6d6;hb=d7a8794eb574a870fde9a8afdfd452e52804f65d;hp=59af2ff0b57c7097f4daa960e785c0e47d6bafd7;hpb=25b424134f9927a5bf0bab5cba836a0aa6c3cfc1;p=jquery.git diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js index 59af2ff..8200595 100644 --- a/src/selector/selectorTest.js +++ b/src/selector/selectorTest.js @@ -1,13 +1,16 @@ module("selector"); test("element", function() { - expect(6); + expect(8); ok( $("*").size() >= 30, "Select all" ); t( "Element Selector", "div", ["main","foo"] ); t( "Element Selector", "body", ["body"] ); t( "Element Selector", "html", ["html"] ); t( "Parent Element", "div div", ["foo"] ); ok( $("param", "#object1").length == 2, "Object/param as context" ); + + ok( $("#length").length, '<input name="length"> cannot be found under IE, see #945' ); + ok( $("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' ); }); test("broken", function() { @@ -199,4 +202,4 @@ test("basic xpath", function() { $("#foo").each(function() { isSet( $("/p", this).get(), q("sndp", "en", "sap"), "Check XPath context" ); }); -}); +}); \ No newline at end of file