This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7707 - [selectors-api2] Add method for collectively querying all elements in a NodeList
Summary: [selectors-api2] Add method for collectively querying all elements in a NodeList
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Selectors API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 enhancement
Target Milestone: ---
Assignee: Lachlan Hunt
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 09:38 UTC by Lachlan Hunt
Modified: 2009-09-26 21:51 UTC (History)
2 users (show)

See Also:


Attachments

Description Lachlan Hunt 2009-09-23 09:38:47 UTC
The suggestion is to be able to run querySelector() and querySelectorAll() on NodeList, and have the result be the union of results in document order from running the method on each Element in the NodeList.
Comment 1 Lachlan Hunt 2009-09-26 21:51:38 UTC
The generalised use case for this is to be able to select elements based on their relationship to other elements in a given collection.  This seems to be adequately addressed by the scoped selector proposal.