#5994 closed bug (duplicate)
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
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 12 years ago by
Milestone: | 1.4.4 → 1.5 |
---|---|
Priority: | major → high |
Status: | new → open |
comment:3 Changed 12 years ago by
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.
comment:4 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | open → closed |
Version: | 1.4.1 → 1.4 |
You said it yourself. Wontfix.
Note: See
TracTickets for help on using
tickets.
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.