[Webkit-unassigned] [Bug 52473] New: REGRESSION (r67771): Scaling to avoid orphans is broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 14 13:17:20 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52473

           Summary: REGRESSION (r67771): Scaling to avoid orphans is
                    broken
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Keywords: NeedsRadar, Regression
          Severity: Normal
          Priority: P1
         Component: Printing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


Created an attachment (id=78986)
 --> (https://bugs.webkit.org/attachment.cgi?id=78986&action=review)
test case

WebHTMLView attempts to scale the document down a little if it sees that the last page is very small, in order to avoid orphans. This got broken with r67771, because PrintContext::computePageRectsWithPageSizeInternal always returns all pages with the same size now.

I tried to fix this by undoing the part of PrintContext change that changed the height of the last page, but that created a bigger problem - css-page-break is no longer respected properly, as computePageRectsWithPageSizeInternal() is called after layout.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list