Enum html5ever::rcdom::ElementEnum
[−]
[src]
pub enum ElementEnum { Normal, Script(bool), Template(Handle), AnnotationXml(bool), }
The different kinds of elements in the DOM.
Variants
Normal
Script(bool)
A script element and its "already started" flag. https://html.spec.whatwg.org/multipage/#already-started
Template(Handle)
A template element and its template contents. https://html.spec.whatwg.org/multipage/#template-contents
AnnotationXml(bool)
An annotation-xml element in the MathML namespace whose start tag token had an attribute with the name "encoding" whose value was an ASCII case-insensitive match for the string "text/html" or "application/xhtml+xml" https://html.spec.whatwg.org/multipage/embedded-content.html#math:annotation-xml