Allow 'lower-boundary' scoping argument in querySelector() #1172
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
topic: nodes
The CSSWG is working on new 'scoping' functionality, that allows authors to establish both upper (root) and lower boundaries on a 'scoped' selector. The result is that selectors match within a tree fragment starting at the root, and containing all descendants up until a lower boundary selector is matched.
It would be great to have this option available for authors in
querySelector()
as well. In our discussions, @tabatkins suggested the following:The text was updated successfully, but these errors were encountered: