Side navigation
#5994 closed bug (duplicate)
Opened January 31, 2010 02:30AM UTC
Closed January 27, 2011 10:07PM UTC
Last modified January 27, 2011 10:07PM UTC
prevAll and parents return in reverse document order
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | core | Version: | 1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The return order should be brought inline with the all the other jQuery methods.
http://forum.jquery.com/topic/revert-to-old-fn-add-behaviour-but-provide-a-fn-sort
Attachments (0)
Change History (5)
Changed June 16, 2010 10:50AM UTC by comment:1
Changed October 19, 2010 06:50AM UTC by comment:2
milestone: | 1.4.4 → 1.5 |
---|---|
priority: | major → high |
status: | new → open |
Changed December 24, 2010 02:30AM UTC by comment:3
We've documented that "the elements are returned in order from the closest parent to the outer ones" so making this change could break a lot of code.
Since other operations may re-sort the collection we can't guarantee that the reversed order is preserved on a chain.
Changed January 27, 2011 10:07PM UTC by comment:4
resolution: | → duplicate |
---|---|
status: | open → closed |
version: | 1.4.1 → 1.4 |
You said it yourself. Wontfix.
The order seems to differ when using Internet Explorer 7. IE7 uses eq(0) to locate the object the furthest away while other browsers show the object the nearest to your original object.