mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 08:48:07 +00:00
Bug 217332 When I ask for only pages 1 to 1 to be printed, page 2 prints as well. If the page has IFRAME r+sr=roc, a=benjamin
This commit is contained in:
parent
15165f0770
commit
b3c6b8174a
@ -3009,7 +3009,9 @@ nsPrintEngine::PrintDocContent(nsPrintObject* aPO, nsresult& aStatus)
|
||||
}
|
||||
}
|
||||
|
||||
if (!aPO->mInvisible) {
|
||||
// If |aPO->mPrintAsIs| is true, the kids are processed in |PrintPage|
|
||||
// instead of here.
|
||||
if (!aPO->mInvisible && !aPO->mPrintAsIs) {
|
||||
for (PRInt32 i=0;i<aPO->mKids.Count();i++) {
|
||||
nsPrintObject* po = (nsPrintObject*)aPO->mKids[i];
|
||||
PRBool printed = PrintDocContent(po, aStatus);
|
||||
|
Loading…
x
Reference in New Issue
Block a user