Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5016 closed bug (worksforme)

parents() order different when selector added

Reported by: antix Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: parents, selector Cc:
Blocked by: Blocking:

Description

When you look at the returned elements when using parents() you get the order as expected and documented http://docs.jquery.com/Traversing/parents#expr

but when you add a selector, the order reverses

var parentEls = $("b").parents("span,p")

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.