Expand description
The core DOM types. Defines the basic DOM hierarchy as well as all the HTML elements.
StructsΒ§
- Bind
Context π - The context of the binding to tree of a node.
- Element
Type πIdWrapper - Following
Node πIterator - Node
- An HTML node.
- Node
Flags π - Flags for node items
- Node
Type πIdWrapper - Preceding
Node πIterator - Query
Selector πIterator - Simple
Node πIterator - Tree
Iterator π - Unbind
Context π - The context of the unbinding from a tree of a node when one of its inclusive ancestors is removed.
- Unique
Id π - A nodeβs unique ID, for devtools.
EnumsΒ§
- Children
Mutation π - Clone
Children πFlag - Specifies whether children must be recursively cloned or not.
- Node
Damage π - A summary of the changes that happened to a node.
- Shadow
Including π - Whether a tree traversal should pass shadow tree boundaries.
- Suppress
Observer π - suppress observers flag https://dom.spec.whatwg.org/#concept-node-insert https://dom.spec.whatwg.org/#concept-node-remove
ConstantsΒ§
TraitsΒ§
- Layout
Node πHelpers - Node
Traits π - VecPre
Order πInsertion Helper - Helper trait to insert an element into vector whose elements are maintained in tree order
FunctionsΒ§
- as_
uintptr π - first_
node_ πnot_ in - Iterate through
nodes
until we find aNode
that is not innot_in
- from_
untrusted_ π βnode_ address - If the given untrusted node address represents a valid DOM node in the given runtime, returns it.