Module: Arbre::HTML

Defined in:
lib/arbre/html/tag.rb,
lib/arbre/html/document.rb,
lib/arbre/html/text_node.rb,
lib/arbre/html/attributes.rb,
lib/arbre/html/class_list.rb,
lib/arbre/html/html5_elements.rb

Defined Under Namespace

Classes: Attributes, ClassList, Document, P, Table, Tag, TextNode

Constant Summary collapse

AUTO_BUILD_ELEMENTS =
[ :a, :abbr, :address, :area, :article, :aside, :audio, :b, :base,
:bdo, :blockquote, :body, :br, :button, :canvas, :caption, :cite,
:code, :col, :colgroup, :command, :datalist, :dd, :del, :details,
:dfn, :div, :dl, :dt, :em, :embed, :fieldset, :figcaption, :figure,
:footer, :form, :h1, :h2, :h3, :h4, :h5, :h6, :head, :header, :hgroup, 
:hr, :html, :i, :iframe, :img, :input, :ins, :keygen, :kbd, :label, 
:legend, :li, :link, :map, :mark, :menu, :menuitem, :meta, :meter, :nav, :noscript, 
:object, :ol, :optgroup, :option, :output, :param, :pre, :progress, :q,
:s, :samp, :script, :section, :select, :small, :source, :span,
:strong, :style, :sub, :summary, :sup, :svg, :table, :tbody, :td,
:textarea, :tfoot, :th, :thead, :time, :title, :tr, :track, :ul, :var, :video, :wbr ]
HTML5_ELEMENTS =
[ :p ] + AUTO_BUILD_ELEMENTS