Opened 13 years ago
Closed 10 years ago
#9191 closed enhancement (patchwelcome)
dojo.query - optionally return results in correct DOM order
Reported by: | mojowww | Owned by: | dylan |
---|---|---|---|
Priority: | low | Milestone: | future |
Component: | Query | Version: | 1.3.0 |
Keywords: | query | Cc: | |
Blocked By: | Blocking: |
Description
I have heard we don't want to have the query return the elements in order of the DOM because it would be a big performance hit, which totally makes sense.
Would it be possible to have an optional parameter, or maybe an entirely new function in dojo that *would* return them in the right order?
Example implementations:
//overloaded the query method dojo.guery(".foo", document, true); // new method dojo.dom(".foo", document);
Note: I confirmed that the built in FF getElementsByClassName returns results in order.
Change History (7)
comment:1 Changed 13 years ago by
Owner: | changed from anonymous to alex |
---|
comment:2 Changed 13 years ago by
Component: | General → Query |
---|
comment:3 Changed 13 years ago by
Milestone: | tbd → future |
---|
comment:4 Changed 13 years ago by
comment:7 Changed 10 years ago by
Priority: | high → low |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Given that this has been bumped a number of times without any action, I'm going to close this ticket but would welcome any patches.
Note: See
TracTickets for help on using
tickets.
jQuery 1.3.2 forces document order for comma-separated queries:
http://groups.google.com/group/sizzlejs/browse_thread/thread/44d2b3fd5d532b5b