summaryrefslogtreecommitdiffstats
path: root/parser
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-07 08:22:36 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-07 18:33:22 -0500
commit2e3b937f4ee13e70584c881e0c65200e439ff7fa (patch)
treeca4e3f45a92f969f49ee6d4bcfd4243cff370569 /parser
parentc0326517787e12bb5904d8f55386499628806b42 (diff)
downloadUXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar.gz
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar.lz
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar.xz
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.zip
Bug 1322938 - Basic implementation of HTMLDialogElement.
Tag #1343
Diffstat (limited to 'parser')
-rw-r--r--parser/htmlparser/nsElementTable.cpp4
-rw-r--r--parser/htmlparser/nsHTMLTagList.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/parser/htmlparser/nsElementTable.cpp b/parser/htmlparser/nsElementTable.cpp
index 80f581a16..5c69726d1 100644
--- a/parser/htmlparser/nsElementTable.cpp
+++ b/parser/htmlparser/nsElementTable.cpp
@@ -152,6 +152,10 @@ const nsHTMLElement gHTMLElements[] = {
/*parent,leaf*/ kPhrase, false
},
{
+ /*tag*/ eHTMLTag_dialog,
+ /*parent,leaf*/ kBlock, false
+ },
+ {
/*tag*/ eHTMLTag_dir,
/*parent,leaf*/ kList, false
},
diff --git a/parser/htmlparser/nsHTMLTagList.h b/parser/htmlparser/nsHTMLTagList.h
index edd771f7e..7e1e207cc 100644
--- a/parser/htmlparser/nsHTMLTagList.h
+++ b/parser/htmlparser/nsHTMLTagList.h
@@ -68,6 +68,7 @@ HTML_HTMLELEMENT_TAG(dd)
HTML_TAG(del, Mod)
HTML_TAG(details, Details)
HTML_HTMLELEMENT_TAG(dfn)
+HTML_TAG(dialog, Dialog)
HTML_TAG(dir, Shared)
HTML_TAG(div, Div)
HTML_TAG(dl, SharedList)