+ $('<a name="tName1">tName1 A</a><a name="tName2">tName2 A</a><div id="tName1">tName1 Div</div>').appendTo('#main');\r
+ ok( $("#tName1")[0].id == 'tName1', "ID selector with same value for a name attribute" );\r
+ ok( $("#tName2").length == 0, "ID selector non-existing but name attribute on an A tag" );\r
+ \r
+ t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986\r