Duplicates not removed before evaluating :eq(n)
|Reported by:||jeff_themovie||Owned by:||john|
The test suite has a selector test for "div div:eq(27)" but trying jQuery("div div").eq(27) in Firebug returns a different div.
I'd expect jQuery("div div:eq(27)") to return the same result as jQuery("div div").eq(27).
It seems that duplicates are not removed from the working list of elements before evaluating the :eq() selector (and I suspect other positional selectors as well, although I haven't tried those yet).
(The mailing list / discussion group thread is at http://groups.google.com/group/jquery-dev/browse_thread/thread/fc49c5bc6524e8aa )
Change History (6)
Changed 7 years ago by jeff_themovie
comment:4 Changed 5 years ago by dmethvin
- Resolution set to duplicate
- Status changed from open to closed