Make forward-compatible the DOCTYPE handling for determining whether to be in quirks mode or strict mode: properly parse the DOCTYPE declaration and use a list of known public identifiers that should trigger quirks. Remove some remnants of modes that no longer exist. b=55264 r=harishd sr=vidur

This commit is contained in:
dbaron@fas.harvard.edu
2001-09-08 18:37:19 +00:00
parent de212948e5
commit 4a0479a685
24 changed files with 826 additions and 1328 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ CViewSourceHTML::CViewSourceHTML() : mFilename(), mTags(), mErrors() {
mSink=0;
mLineNumber=0;
mTokenizer=0;
mDocType=eHTML3Text;
mDocType=eHTML3_Quirks; // why?
mValidator=0;
mHasOpenRoot=PR_FALSE;
mHasOpenBody=PR_FALSE;