From 9d3644b4d00c32fb454fd123b5e457a4a01d30c6 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Wed, 21 Feb 2024 11:50:10 +0100 Subject: Add missing tags according with WPT test According with https://wpt.live/dom/nodes/Node-cloneNode.html test, libdom missed some hmtl tags. This commit adds tt, acronym, big, bgsound, marquee, noframes, spacer, strike and nobr tags --- include/dom/html/html_elements.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/dom/html/html_elements.h b/include/dom/html/html_elements.h index 5b54bbe..6e954c5 100644 --- a/include/dom/html/html_elements.h +++ b/include/dom/html/html_elements.h @@ -12,6 +12,7 @@ DOM_HTML_ELEMENT_STRINGS_ENTRY(_UNKNOWN) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(A) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(ABBR) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(ACRONYM) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(ADDRESS) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(APPLET) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(AREA) \ @@ -23,6 +24,8 @@ DOM_HTML_ELEMENT_STRINGS_ENTRY(BASEFONT) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(BDI) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(BDO) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(BGSOUND) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(BIG) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(BLOCKQUOTE) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(BODY) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(BR) \ @@ -81,11 +84,14 @@ DOM_HTML_ELEMENT_STRINGS_ENTRY(MAIN) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(MAP) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(MARK) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(MARQUEE) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(MENU) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(MENUITEM) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(META) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(METER) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(NAV) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(NOBR) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(NOFRAMES) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(NOSCRIPT) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(OBJECT) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(OL) \ @@ -108,7 +114,9 @@ DOM_HTML_ELEMENT_STRINGS_ENTRY(SELECT) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(SMALL) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(SOURCE) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(SPACER) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(SPAN) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(STRIKE) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(STRONG) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(STYLE) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(SUB) \ @@ -126,6 +134,7 @@ DOM_HTML_ELEMENT_STRINGS_ENTRY(TITLE) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(TR) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(TRACK) \ + DOM_HTML_ELEMENT_STRINGS_ENTRY(TT) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(U) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(UL) \ DOM_HTML_ELEMENT_STRINGS_ENTRY(VAR) \ -- cgit v1.2.3