mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 793473, propagate mDontPrint to descendants, r=roc
This commit is contained in:
parent
b5b498075a
commit
b2bc857222
@ -1843,7 +1843,7 @@ nsPrintEngine::ReflowDocList(nsPrintObject* aPO, bool aSetPixelScale)
|
||||
if (aPO->mParent && aPO->mParent->mPresShell) {
|
||||
nsIFrame* frame = aPO->mContent ? aPO->mContent->GetPrimaryFrame() : nullptr;
|
||||
if (!frame || !frame->GetStyleVisibility()->IsVisible()) {
|
||||
aPO->mDontPrint = true;
|
||||
SetPrintPO(aPO, false);
|
||||
aPO->mInvisible = true;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user