Bug Tracker

Ticket #12816 (closed bug: fixed)

Opened 2 years ago

Last modified 22 months ago

.find can return elements in the wrong order

Reported by: gibson042 Owned by: dmethvin
Priority: low Milestone: 1.9
Component: traversing Version: 1.8.2
Keywords: Cc:
Blocking: Blocked by:

Change History

comment:1 Changed 2 years ago by dmethvin

  • Owner set to dmethvin
  • Status changed from new to assigned

comment:2 Changed 2 years ago by dmethvin

  • Priority changed from undecided to low
  • Component changed from unfiled to traversing
  • Milestone changed from None to 1.9

comment:3 Changed 2 years ago by Dave Methvin

  • Status changed from assigned to closed
  • Resolution set to fixed

Fix #12816. Ensure .find() result are DOM ordered.

Changeset: 5ed0450dc471f61e4c5d5df30df3f3294a3e6bd6

comment:4 follow-up: ↓ 5 Changed 22 months ago by anonymous

jQuery 1.9.0, IE7 returns elements in wrong order.

.find('.items') // returns incorrect order
.children('.items') // returns correct order

comment:5 in reply to: ↑ 4 Changed 22 months ago by gibson042

Replying to anonymous:

jQuery 1.9.0, IE7 returns elements in wrong order.

Please open a new ticket and follow the instructions to provide a test case on jsFiddle/jsBin/etc.

Note: See TracTickets for help on using tickets.