Expand description
Generic implementations of some DOM APIs so they can be shared between Servo and Gecko.
Structs§
- A query for all the elements in a subtree.
- A query for the first in-tree match of all the elements in a subtree.
Enums§
- Whether the invalidation machinery should be used for this query.
Traits§
- A selector query abstraction, in order to be generic over QuerySelector and QuerySelectorAll.
Functions§
- Collects elements with a given id under
root
, that passfilter
. - Returns whether a given element connected to
root
is descendant ofroot
. - Fast path for iterating over every element with a given id in the document or shadow root that
root
is connected to. - get_id 🔒
- has_
attr 🔒 - Fast paths for a given selector query.
- Fast paths for querySelector with a single simple selector.
Type Aliases§
- The result of a querySelectorAll call.