From acdaa67ff1d3f424fe26c8a0fdce213c979cceba Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Sat, 29 Aug 1998 06:52:17 +0000 Subject: [PATCH] added noembed support --- htmlparser/src/CNavDTD.cpp | 1 + parser/htmlparser/src/CNavDTD.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/htmlparser/src/CNavDTD.cpp b/htmlparser/src/CNavDTD.cpp index 0070d3ab8752..0dbe500733bf 100644 --- a/htmlparser/src/CNavDTD.cpp +++ b/htmlparser/src/CNavDTD.cpp @@ -1355,6 +1355,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const { case eHTMLTag_label: case eHTMLTag_legend: case eHTMLTag_menu: case eHTMLTag_noscript: case eHTMLTag_ol: case eHTMLTag_ul: + case eHTMLTag_embed: case eHTMLTag_noembed: result=FindTagInSet(aChild,gTagSet1,sizeof(gTagSet1)/sizeof(eHTMLTag_unknown)); break; diff --git a/parser/htmlparser/src/CNavDTD.cpp b/parser/htmlparser/src/CNavDTD.cpp index 0070d3ab8752..0dbe500733bf 100644 --- a/parser/htmlparser/src/CNavDTD.cpp +++ b/parser/htmlparser/src/CNavDTD.cpp @@ -1355,6 +1355,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const { case eHTMLTag_label: case eHTMLTag_legend: case eHTMLTag_menu: case eHTMLTag_noscript: case eHTMLTag_ol: case eHTMLTag_ul: + case eHTMLTag_embed: case eHTMLTag_noembed: result=FindTagInSet(aChild,gTagSet1,sizeof(gTagSet1)/sizeof(eHTMLTag_unknown)); break;