JustHTML::TreeBuilder
Inherits JustHTML::TokenSink < Reference < Object
Constants
FORMATTING_ELEMENTS = {"a", "b", "big", "code", "em", "font", "i", "nobr", "s", "small", "strike", "strong", "tt", "u"}
Formatting elements that use the adoption agency algorithm
TABLE_ALLOWED_CHILDREN = {"caption", "colgroup", "tbody", "tfoot", "thead", "tr", "td", "th", "script", "template", "style"}
Elements allowed as children of table-related elements (not foster parented)
TABLE_FOSTER_TARGETS = {"table", "tbody", "tfoot", "thead", "tr"}
Elements that are targets for foster parenting
Constructors
Class methods
Instance methods
document
Sourceerrors
Sourceopen_elements
Sourceprocess_comment(comment : CommentToken) : Nil
Sourceprocess_doctype(doctype : Doctype) : Nil
Sourceprocess_eof
Sourceprocess_tag(tag : Tag) : Nil
Sourceset_tokenizer(tokenizer : Tokenizer) : Nil
Source