a few small bug fixes for DTD

This commit is contained in:
rickg@netscape.com
1998-09-04 02:52:47 +00:00
parent 79318b0f6b
commit 4e38e1e89d
4 changed files with 14 additions and 20 deletions

View File

@@ -133,14 +133,6 @@ PRInt32 CStartToken::GetTypeID(){
char cbuf[20];
tmp.ToCString(cbuf, sizeof(cbuf));
mTypeID = NS_TagToEnum(cbuf);
switch(mTypeID) {
case eHTMLTag_dir:
case eHTMLTag_menu:
mTypeID=eHTMLTag_ul;
break;
default:
break;
}
}
return mTypeID;
}