fixed RTM++ compatibility bugs: 53011, 54117, 54651, 54834, 54840, 55095. sr=buster, r=buster, attinasi, harish, sfraser for various portions.

This commit is contained in:
rickg@netscape.com
2000-10-11 23:42:00 +00:00
parent 67237b8b7b
commit 3715560031
12 changed files with 234 additions and 138 deletions

View File

@@ -997,9 +997,13 @@ nsresult CCommentToken::Consume(PRUnichar aChar, nsScanner& aScanner,PRInt32 aMo
nsresult result=PR_TRUE;
switch(aMode) {
#if 0 //set to 1 if you want strict comments... bug 53011...
case eDTDMode_strict:
result=ConsumeStrictComment(aChar,aScanner,mTextValue);
break;
#endif
case eDTDMode_transitional:
default:
result=ConsumeComment(aChar,aScanner,mTextValue);