Module script::dom::node

source ·
Expand description

The core DOM types. Defines the basic DOM hierarchy as well as all the HTML elements.


The context of the binding to tree of a node.
An HTML node.
Flags for node items
The context of the unbinding from a tree of a node when one of its inclusive ancestors is removed.
A node’s unique ID, for devtools.


Specifies whether children must be recursively cloned or not.
A summary of the changes that happened to a node.
Whether a tree traversal should pass shadow tree boundaries.



Helper trait to insert an element into vector whose elements are maintained in tree order


as_uintptr 🔒
Iterate through nodes until we find a Node that is not in not_in
If the given untrusted node address represents a valid DOM node in the given runtime, returns it.