зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1054289 Scroll to the current ref, not the original one r=smaug
This commit is contained in:
Родитель
1c56da8a40
Коммит
a0446d2a55
|
@ -1177,7 +1177,7 @@ nsContentSink::StartLayout(bool aIgnorePendingSheets)
|
||||||
// If the document we are loading has a reference or it is a
|
// If the document we are loading has a reference or it is a
|
||||||
// frameset document, disable the scroll bars on the views.
|
// frameset document, disable the scroll bars on the views.
|
||||||
|
|
||||||
mDocument->SetScrollToRef(mDocumentURI);
|
mDocument->SetScrollToRef(mDocument->GetDocumentURI());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Загрузка…
Ссылка в новой задаче