From 38fd4465f14e12cc38b45f86e1ab7bfabdee7fb5 Mon Sep 17 00:00:00 2001 From: "vidur%netscape.com" Date: Thu, 11 Mar 1999 07:52:24 +0000 Subject: [PATCH] Added parsererror and sourcetext to element table git-svn-id: svn://10.0.0.236/trunk@23683 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsElementTable.cpp | 14 ++++++++++++++ mozilla/parser/htmlparser/src/nsElementTable.cpp | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/mozilla/htmlparser/src/nsElementTable.cpp b/mozilla/htmlparser/src/nsElementTable.cpp index 8486a5886d1..0c5abbe07ee 100644 --- a/mozilla/htmlparser/src/nsElementTable.cpp +++ b/mozilla/htmlparser/src/nsElementTable.cpp @@ -778,6 +778,13 @@ nsHTMLElement gHTMLElements[] = { /*special properties*/ 0, /*special parents,kids,skip*/ &gParamParents,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_parsererror, + /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, + /*autoclose starttags and endtags*/ &gDivAutoClose,0,0, + /*parent,incl,exclgroups*/ kBlock, (kSelf|kFlow), kNone, + /*special properties*/ 0, + /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_plaintext, /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0, @@ -848,6 +855,13 @@ nsHTMLElement gHTMLElements[] = { /*special properties*/ 0, /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_sourcetext, + /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, + /*autoclose starttags and endtags*/ &gDivAutoClose,0,0, + /*parent,incl,exclgroups*/ kBlock, (kSelf|kFlow), kNone, + /*special properties*/ 0, + /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_spacer, /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0, diff --git a/mozilla/parser/htmlparser/src/nsElementTable.cpp b/mozilla/parser/htmlparser/src/nsElementTable.cpp index 8486a5886d1..0c5abbe07ee 100644 --- a/mozilla/parser/htmlparser/src/nsElementTable.cpp +++ b/mozilla/parser/htmlparser/src/nsElementTable.cpp @@ -778,6 +778,13 @@ nsHTMLElement gHTMLElements[] = { /*special properties*/ 0, /*special parents,kids,skip*/ &gParamParents,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_parsererror, + /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, + /*autoclose starttags and endtags*/ &gDivAutoClose,0,0, + /*parent,incl,exclgroups*/ kBlock, (kSelf|kFlow), kNone, + /*special properties*/ 0, + /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_plaintext, /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0, @@ -848,6 +855,13 @@ nsHTMLElement gHTMLElements[] = { /*special properties*/ 0, /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_sourcetext, + /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, + /*autoclose starttags and endtags*/ &gDivAutoClose,0,0, + /*parent,incl,exclgroups*/ kBlock, (kSelf|kFlow), kNone, + /*special properties*/ 0, + /*special parents,kids,skip*/ 0,0,eHTMLTag_unknown}, + { /*tag*/ eHTMLTag_spacer, /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0,