Removed most of the static ctors

git-svn-id: svn://10.0.0.236/trunk@49058 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-09-25 20:05:51 +00:00
parent 8655fee7af
commit 2f8faa4f89
8 changed files with 24 additions and 84 deletions

View File

@@ -1208,29 +1208,6 @@ nsHTMLElement gHTMLElements[] = {
/*special parents,kids,skip*/ 0,0,eHTMLTag_unknown},
};
/**
* This class is here to finalize the initialization of the
* nsHTMLElement table.
*/
class CTableInitializer {
public:
CTableInitializer(){
/*now initalize tags that can contain themselves...
int max=sizeof(gStyleTags)/sizeof(eHTMLTag_unknown);
for(index=0;index<max;index++){
gHTMLElements[gStyleTags[index]].mSelfContained=PR_TRUE;
}
gHTMLElements[eHTMLTag_a].mSelfContained=PR_FALSE;
gHTMLElements[eHTMLTag_div].mSelfContained=PR_TRUE;
gHTMLElements[eHTMLTag_frameset].mSelfContained=PR_TRUE;
gHTMLElements[eHTMLTag_ol].mSelfContained=PR_TRUE;
gHTMLElements[eHTMLTag_ul].mSelfContained=PR_TRUE;
*/
}
};
CTableInitializer gTableInitializer;
int nsHTMLElement::GetSynonymousGroups(int aGroup) {
int result=0;