Bug 224727: Make IBM doctype trigger quirks mode rather then almost standards.

r=mkaply sr=dbaron
This commit is contained in:
sicking@bigfoot.com
2003-11-04 23:50:18 +00:00
parent 30f58f9c32
commit d5ab753e78
2 changed files with 4 additions and 2 deletions

View File

@@ -1002,7 +1002,8 @@ static void DetermineHTMLParseMode(const nsString& aBuffer,
if (!(resultFlags & PARSE_DTD_HAVE_INTERNAL_SUBSET) &&
sysIDUCS2 == NS_LITERAL_STRING(
"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd")) {
aParseMode = eDTDMode_almost_standards;
aParseMode = eDTDMode_quirks;
aDocType = eHTML_Quirks;
}
} else {