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.
- SimpleFilter ๐
Traitsยง
- A selector query abstraction, in order to be generic over QuerySelector and QuerySelectorAll.
Functionsยง
- collect_all_elements ๐
- 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_attr_name ๐
- get_id ๐
- has_attr ๐
- local_name_matches ๐
- query_selector_fast ๐Fast paths for a given selector query.
- Fast paths for querySelector with a single simple selector.
- query_selector_slow ๐
Type Aliasesยง
- The result of a querySelectorAll call.