зеркало из 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. Differential Revision: https://phabricator.services.mozilla.com/D119104
This commit is contained in:
Родитель
c20d46fb7a
Коммит
0193e0b8c1
|
@ -747,7 +747,7 @@ void nsSubDocumentFrame::Reflow(nsPresContext* aPresContext,
|
|||
|
||||
FinishAndStoreOverflow(&aDesiredSize);
|
||||
|
||||
if (!aPresContext->IsPaginated() && !mPostedReflowCallback) {
|
||||
if (!aPresContext->IsRootPaginatedDocument() && !mPostedReflowCallback) {
|
||||
PresShell()->PostReflowCallback(this);
|
||||
mPostedReflowCallback = true;
|
||||
}
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
bug:
|
||||
if fission: https://bugzilla.mozilla.org/show_bug.cgi?id=1695806
|
||||
expected:
|
||||
if fission: FAIL
|
||||
if fission: [PASS, FAIL]
|
||||
|
|
Загрузка…
Ссылка в новой задаче