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. - An HTML node.
- Node
Flags πFlags for node items - 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 π - Helper trait to insert an element into vector whose elements are maintained in tree order
Functions§
- as_
uintptr π - first_
node_ πnot_ in Iterate throughnodes
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.