diff --git a/mozilla/htmlparser/src/nsElementTable.cpp b/mozilla/htmlparser/src/nsElementTable.cpp index e51ec93838e..8486a5886d1 100644 --- a/mozilla/htmlparser/src/nsElementTable.cpp +++ b/mozilla/htmlparser/src/nsElementTable.cpp @@ -347,7 +347,7 @@ nsHTMLElement gHTMLElements[] = { /*rootnodes,endrootnodes*/ &gInHTML, &gInHTML, /*autoclose starttags and endtags*/ &gBodyAutoClose,0,0, /*parent,incl,exclgroups*/ kHTMLContent, kFlow, kNone, - /*special properties*/ kOmitEndTag, + /*special properties*/ kOmitEndTag|kLegalOpen, /*special parents,kids,skip*/ &gInNoframes,&gBodyKids,eHTMLTag_unknown}, { /*tag*/ eHTMLTag_br, @@ -712,7 +712,7 @@ nsHTMLElement gHTMLElements[] = { /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0, /*parent,incl,exclgroups*/ kNone, kNone, kNone, - /*special properties*/ 0, + /*special properties*/ kDiscardTag, /*special parents,kids,skip*/ 0,0,eHTMLTag_noembed}, { /*tag*/ eHTMLTag_noframes, diff --git a/mozilla/parser/htmlparser/src/nsElementTable.cpp b/mozilla/parser/htmlparser/src/nsElementTable.cpp index e51ec93838e..8486a5886d1 100644 --- a/mozilla/parser/htmlparser/src/nsElementTable.cpp +++ b/mozilla/parser/htmlparser/src/nsElementTable.cpp @@ -347,7 +347,7 @@ nsHTMLElement gHTMLElements[] = { /*rootnodes,endrootnodes*/ &gInHTML, &gInHTML, /*autoclose starttags and endtags*/ &gBodyAutoClose,0,0, /*parent,incl,exclgroups*/ kHTMLContent, kFlow, kNone, - /*special properties*/ kOmitEndTag, + /*special properties*/ kOmitEndTag|kLegalOpen, /*special parents,kids,skip*/ &gInNoframes,&gBodyKids,eHTMLTag_unknown}, { /*tag*/ eHTMLTag_br, @@ -712,7 +712,7 @@ nsHTMLElement gHTMLElements[] = { /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0, /*parent,incl,exclgroups*/ kNone, kNone, kNone, - /*special properties*/ 0, + /*special properties*/ kDiscardTag, /*special parents,kids,skip*/ 0,0,eHTMLTag_noembed}, { /*tag*/ eHTMLTag_noframes,