Expand description
Types for tag and attribute names, and tree-builder functionality.
Modules§
- tree_
builder - This module contains functionality for managing the DOM, including adding/removing nodes.
Structs§
- 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.
- Expanded
Name - An expanded name, containing the tag and the namespace.
- Qual
Name - A fully qualified name (with a namespace), used to depict names of tags and attributes.
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.
- Quirks
Mode - A document’s quirks mode, for compatibility with old browsers. See quirks mode on wikipedia for more information.
Traits§
- 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.