зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1716537 - Allow updating viewport dimensions on paginated subdocuments. r=mattwoodrow
As those don't have the same incremental reflow issues as root paginated documents, and we do need this for remote iframes to update their viewport. Depends on D119103 Differential Revision: https://phabricator.services.mozilla.com/D119104
This commit is contained in:
Родитель
469eabe833
Коммит
e85773cf91
|
@ -747,7 +747,7 @@ void nsSubDocumentFrame::Reflow(nsPresContext* aPresContext,
|
|||
|
||||
FinishAndStoreOverflow(&aDesiredSize);
|
||||
|
||||
if (!aPresContext->IsPaginated() && !mPostedReflowCallback) {
|
||||
if (!aPresContext->IsRootPaginatedDocument() && !mPostedReflowCallback) {
|
||||
PresShell()->PostReflowCallback(this);
|
||||
mPostedReflowCallback = true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче