Bug Tracker

Modify

Ticket #4246 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Results from .children() should be sorted in order

Reported by: john Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description (last modified by john) (diff)

The results from doing $("div").children("p") should be identical to doing $("div > p") (right now the results are unique but not necessarily in the correct sorted order).

Change History

comment:1 Changed 5 years ago by john

  • Description modified (diff)
  • Summary changed from Results from .find() should be sorted in order to Results from .children() should be sorted in order

Actually, this doesn't seem to be an issue for .find(), they're already in document order, nevermind.

This would be an issue for .children(), though.

comment:2 Changed 5 years ago by dmethvin

Are you talking to yourself again, John? Did you mean to close this ticket?

comment:3 Changed 5 years ago by john

Yes, I'm talking to myself. I just re-wrote the the ticket summary and description to match the new problem. I'll have to tackle this at some point.

comment:4 Changed 4 years ago by john

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

This has been resolved in 1.4.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.