summaryrefslogtreecommitdiffstats
path: root/parser
diff options
context:
space:
mode:
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)