Add <dialog>, <details>, and <optgroup> HTML elements to templating

This commit is contained in:
Eric Eastwood 2022-11-10 21:14:57 -06:00
parent dbac61f78f
commit 1aba18ca1d

View File

@ -102,10 +102,10 @@ export const SVG_NS: string = "http://www.w3.org/2000/svg";
export const TAG_NAMES = { export const TAG_NAMES = {
[HTML_NS]: [ [HTML_NS]: [
"br", "a", "ol", "ul", "li", "div", "h1", "h2", "h3", "h4", "h5", "h6", "br", "a", "ol", "ul", "li", "div", "h1", "h2", "h3", "h4", "h5", "h6",
"p", "strong", "em", "span", "img", "section", "header", "main", "footer", "p", "strong", "em", "span", "img", "section", "header", "main", "footer", "dialog",
"article", "aside", "del", "blockquote", "article", "aside", "del", "blockquote", "details", "summary",
"table", "thead", "tbody", "tr", "th", "td", "hr", "table", "thead", "tbody", "tr", "th", "td", "hr",
"pre", "code", "button", "time", "input", "textarea", "select", "option", "label", "form", "pre", "code", "button", "time", "input", "textarea", "select", "option", "optgroup", "label", "form",
"progress", "output", "video", "style"], "progress", "output", "video", "style"],
[SVG_NS]: ["svg", "g", "path", "circle", "ellipse", "rect", "use"] [SVG_NS]: ["svg", "g", "path", "circle", "ellipse", "rect", "use"]
} as const; } as const;