Skip to main content

Bug Tracker

Side navigation

#4246 closed bug (fixed)

Opened February 25, 2009 03:53PM UTC

Closed December 09, 2009 04:49PM UTC

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:
Blocked by: Blocking:
Description

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).

Attachments (0)
Change History (4)

Changed February 25, 2009 04:01PM UTC by john comment:1

description: The results from doing $("div").find("p") should be identical to doing $("div p") (right now the results are unique but not necessarily in the correct sorted order).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).
summary: Results from .find() should be sorted in orderResults 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.

Changed February 25, 2009 11:52PM UTC by dmethvin comment:2

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

Changed March 13, 2009 02:33AM UTC by john comment:3

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.

Changed December 09, 2009 04:49PM UTC by john comment:4

resolution: → fixed
status: newclosed

This has been resolved in 1.4.