зеркало из https://github.com/mozilla/pjs.git
98218 - set layout mode whether a DOCTYPE exists or not
r=heikki, sr=jst.
This commit is contained in:
Родитель
a51eaa42b8
Коммит
68f6ada8cd
|
@ -2739,6 +2739,11 @@ HTMLContentSink::WillBuildModel(void)
|
|||
mBeginLoadTime = PR_IntervalToMicroseconds(PR_IntervalNow());
|
||||
}
|
||||
mScrolledToRefAlready = PR_FALSE;
|
||||
|
||||
if (mHTMLDocument) {
|
||||
mHTMLDocument->SetDTDMode(mParser? mParser->GetParseMode():eDTDMode_quirks);
|
||||
}
|
||||
|
||||
// Notify document that the load is beginning
|
||||
mDocument->BeginLoad();
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче