Expand description

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.


Whether the invalidation machinery should be used for this query.


A selector query abstraction, in order to be generic over QuerySelector and QuerySelectorAll.


Collects elements with a given id under root, that pass filter.

Returns whether a given element connected to root is descendant of root.

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.

Type Definitions

The result of a querySelectorAll call.