$OpenBSD: patch-htmlparser_src_nsElementTable_cpp,v 1.1 2005/10/19 15:21:21 naddy Exp $ --- htmlparser/src/nsElementTable.cpp.orig Sat Apr 10 06:08:26 2004 +++ htmlparser/src/nsElementTable.cpp Wed Oct 19 15:11:46 2005 @@ -934,15 +934,6 @@ void InitializeElementTable(void) { /*special parents,kids,skip*/ &gParamParents,0,eHTMLTag_unknown); Initialize( - /*tag*/ eHTMLTag_parsererror, - /*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown, - /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, - /*autoclose starttags and endtags*/ &gDivAutoClose,0,0,0, - /*parent,incl,exclgroups*/ kNone, (kSelf|kFlowEntity), kNone, - /*special props, prop-range*/ 0, kNoPropRange, - /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown); - - Initialize( /*tag*/ eHTMLTag_plaintext, /*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown, /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, @@ -1031,15 +1022,6 @@ void InitializeElementTable(void) { /*autoclose starttags and endtags*/ 0,0,0,0, /*parent,incl,exclgroups*/ (kFlowEntity|kHeadContent), kNone, kNone, // Added kFlowEntity|kHeadContent & kNonContainer in /*special props, prop-range*/ kNonContainer,kDefaultPropRange, // Ref. to Bug 25749 - /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown); - - Initialize( - /*tag*/ eHTMLTag_sourcetext, - /*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown, - /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, - /*autoclose starttags and endtags*/ &gDivAutoClose,0,0,0, - /*parent,incl,exclgroups*/ kNone, (kSelf|kFlowEntity), kNone, - /*special props, prop-range*/ 0,kDefaultPropRange, /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown); Initialize(