Expand description
The HTML5 tree builder.
Re-exports§
pub use crate::interface::AppendNode;
pub use crate::interface::AppendText;
pub use crate::interface::LimitedQuirks;
pub use crate::interface::NoQuirks;
pub use crate::interface::Quirks;
pub use self::PushFlag::*;
Structs§
- Active
Formatting Iter - Attribute
- A tag attribute, e.g.
class="test"
in<div class="test" ...>
. - Element
Flags - Special properties of an element, useful for tagging elements with this information.
- Tree
Builder - The HTML tree builder.
- Tree
Builder Opts - Tree builder options, with an impl for Default.
Enums§
- Next
Parser State - Whether to interrupt further parsing of the current input until the next explicit resumption of the tokenizer, or continue without any interruption.
- Node
OrText - Something which can be inserted into the DOM.
- Push
Flag - 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.
- html_
elem