Expand description
This module contains functionality for managing the DOM, including adding/removing nodes.
It can be used by a parser to create the DOM graph structure in memory.
Re-exports§
pub use self::NodeOrText::AppendNode;
pub use self::NodeOrText::AppendText;
pub use self::QuirksMode::LimitedQuirks;
pub use self::QuirksMode::NoQuirks;
pub use self::QuirksMode::Quirks;
Structs§
- Element
Flags - Special properties of an element, useful for tagging elements with this information.
Enums§
- Node
OrText - Something which can be inserted into the DOM.
- Quirks
Mode - A document’s quirks mode, for compatibility with old browsers. See quirks mode on wikipedia for more information.
Traits§
- Elem
Name - An abstraction over any type that can represent an element’s local name and namespace.
- Tracer
- Trace hooks for a garbage-collected DOM.
- Tree
Sink - Methods a parser can use to create the DOM. The DOM provider implements this trait.
Functions§
- create_
element - A constructor for an element.