Generic implementations of some DOM APIs so they can be shared between Servo and Gecko.
A query for all the elements in a subtree.
A query for the first in-tree match of all the elements in a subtree.
A selector query abstraction, in order to be generic over QuerySelector and QuerySelectorAll.
Collects elements with a given id under
root, that pass
Returns whether a given element connected to
root is descendant of
Fast path for iterating over every element with a given id in the document
or shadow root that
root is connected to.
Fast paths for a given selector query.
Fast paths for querySelector with a single simple selector.
The result of a querySelectorAll call.