зеркало из https://github.com/mozilla/pjs.git
Make the page only 5x instead of 100x to get around linux region bug.
This is for printing and helps fix. b=82624 r=rods sr=attinasi a=asa
This commit is contained in:
Родитель
b1b8579ed4
Коммит
2d1789e9a5
|
@ -2785,7 +2785,7 @@ DocumentViewerImpl::ReflowPrintObject(PrintObject * aPO)
|
|||
// but reflow somethimes gets upset when using max int
|
||||
// basically, we want to reflow a single page that is large
|
||||
// enough to fit any atomic object like an IFrame
|
||||
const PRInt32 kHundredPagesHigh = 100;
|
||||
const PRInt32 kHundredPagesHigh = 5;
|
||||
|
||||
// now, change the value for special cases
|
||||
if (mPrt->mPrintFrameType == nsIPrintOptions::kEachFrameSep) {
|
||||
|
|
|
@ -2785,7 +2785,7 @@ DocumentViewerImpl::ReflowPrintObject(PrintObject * aPO)
|
|||
// but reflow somethimes gets upset when using max int
|
||||
// basically, we want to reflow a single page that is large
|
||||
// enough to fit any atomic object like an IFrame
|
||||
const PRInt32 kHundredPagesHigh = 100;
|
||||
const PRInt32 kHundredPagesHigh = 5;
|
||||
|
||||
// now, change the value for special cases
|
||||
if (mPrt->mPrintFrameType == nsIPrintOptions::kEachFrameSep) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче