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.
- Simple
Filter ๐
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.