Module html5ever::tree_builder
source · 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::*;
Modules§
- data 🔒
- tag_sets 🔒Various sets of HTML tag names, and macros for declaring them.
- types 🔒Types used within the tree builder code. Not exported to users.
Macros§
- qualname 🔒
Structs§
- A tag attribute, e.g.
class="test"
in<div class="test" ...>
. - Special properties of an element, useful for tagging elements with this information.
- The HTML tree builder.
- Tree builder options, with an impl for Default.
Enums§
- Bookmark 🔒
- Whether to interrupt further parsing of the current input until the next explicit resumption of the tokenizer, or continue without any interruption.
- Something which can be inserted into the DOM.
- A document’s quirks mode, for compatibility with old browsers. See quirks mode on wikipedia for more information.
Traits§
- An abstraction over any type that can represent an element’s local name and namespace.
- Trace hooks for a garbage-collected DOM.
- Methods a parser can use to create the DOM. The DOM provider implements this trait.
Functions§
- A constructor for an element.