bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov

This commit is contained in:
karnaze@netscape.com
2001-11-01 15:31:13 +00:00
parent 9a4135b737
commit 0c19e014cb
22 changed files with 442 additions and 76 deletions

View File

@@ -2079,9 +2079,10 @@ nsBlockFrame::ReflowDirtyLines(nsBlockReflowState& aState)
// If we're supposed to update our maximum width, then we'll also need to
// reflow this line if it's line wrapped and any of the continuing lines
// are dirty
if (!line->IsDirty() &&
(aState.GetFlag(BRS_COMPUTEMAXWIDTH) &&
// are dirty. If we are printing (constrained height), always reflow the line
if ((NS_UNCONSTRAINEDSIZE != aState.mReflowState.availableHeight) ||
(!line->IsDirty() &&
aState.GetFlag(BRS_COMPUTEMAXWIDTH) &&
::WrappedLinesAreDirty(line, line_end))) {
line->MarkDirty();
}