diff options
author | Matt Butcher <[email protected]> | 2013-04-23 12:03:39 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-04-23 12:03:39 -0500 |
commit | 1842bc2a6cd42ec1aa05723f6ec91887dd770169 (patch) | |
tree | 3748e6172cccc79ef80599df82e1131884a54a36 /src/HTML5 | |
parent | a18cd857b0d1186831b386d6aa52c37212671e02 (diff) |
Added Elements class.
Diffstat (limited to 'src/HTML5')
-rw-r--r-- | src/HTML5/Elements.php | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php new file mode 100644 index 0000000..30e3dc9 --- /dev/null +++ b/src/HTML5/Elements.php @@ -0,0 +1,120 @@ +<?php + +class Element { + + const TEXT_RAW = 0x01; + const TEXT_RCDATA = 0x02; + const OMIT_START = 0x0a; + const OMIT_END = 0x0b; + + public static $properties = array( + "a" => 0, + "abbr" => 0, + "address" => 0, + "area" => 0, + "article" => 0, + "aside" => 0, + "audio" => 0, + "b" => 0, + "base" => 0, + "bdi" => 0, + "bdo" => 0, + "blockquote" => 0, + "body" => 0, + "br" => 0, + "button" => 0, + "canvas" => 0, + "caption" => 0, + "cite" => 0, + "code" => 0, + "col" => 0, + "colgroup" => 0, + "command" => 0, + "datalist" => 0, + "dd" => 0, + "del" => 0, + "details" => 0, + "dfn" => 0, + "dialog" => 0, + "div" => 0, + "dl" => 0, + "dt" => 0, + "em" => 0, + "embed" => 0, + "fieldset" => 0, + "figcaption" => 0, + "figure" => 0, + "footer" => 0, + "form" => 0, + "h1" => 0, + "h2" => 0, + "h3" => 0, + "h4" => 0, + "h5" => 0, + "h6" => 0, + "head" => 0, + "header" => 0, + "hgroup" => 0, + "hr" => 0, + "html" => 0, + "i" => 0, + "iframe" => 0, + "img" => 0, + "input" => 0, + "kbd" => 0, + "ins" => 0, + "keygen" => 0, + "label" => 0, + "legend" => 0, + "li" => 0, + "link" => 0, + "map" => 0, + "mark" => 0, + "menu" => 0, + "meta" => 0, + "meter" => 0, + "nav" => 0, + "noscript" => 0, + "object" => 0, + "ol" => 0, + "optgroup" => 0, + "option" => 0, + "output" => 0, + "p" => 0, + "param" => 0, + "pre" => 0, + "progress" => 0, + "q" => 0, + "rp" => 0, + "rt" => 0, + "ruby" => 0, + "s" => 0, + "samp" => 0, + "script" => 0, + "section" => 0, + "select" => 0, + "small" => 0, + "source" => 0, + "span" => 0, + "strong" => 0, + "style" => 0, + "sub" => 0, + "summary" => 0, + "sup" => 0, + "table" => 0, + "tbody" => 0, + "td" => 0, + "textarea" => 0, + "tfoot" => 0, + "th" => 0, + "thead" => 0, + "time" => 0, + "title" => 0, + "tr" => 0, + "track" => 0, + "u" => 0, + "ul" => 0, + "var" => 0, + "wbr" => 0, + ); +} |