mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
imported patch suppresswhenenteringsubdocs
This commit is contained in:
parent
844374701c
commit
cfa2a2df1a
@ -454,8 +454,14 @@ nsSubDocumentFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
GetOffsetToCrossDoc(aBuilder->ReferenceFrame());
|
||||
|
||||
if (subdocRootFrame && NS_SUCCEEDED(rv)) {
|
||||
PRBool save = aBuilder->IsBackgroundOnly();
|
||||
if (presShell->IsPaintingSuppressed() &&
|
||||
!aBuilder->IsIgnoringPaintSuppression()) {
|
||||
aBuilder->SetBackgroundOnly(PR_TRUE);
|
||||
}
|
||||
rv = subdocRootFrame->
|
||||
BuildDisplayListForStackingContext(aBuilder, dirty, &childItems);
|
||||
aBuilder->SetBackgroundOnly(save);
|
||||
}
|
||||
|
||||
if (!aBuilder->IsForEventDelivery()) {
|
||||
|
Loading…
Reference in New Issue
Block a user