Bug 47374 - REGRESSION (r47440): Printing Mail messages with large fonts does not fill page
Summary: REGRESSION (r47440): Printing Mail messages with large fonts does not fill page
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2010-10-07 13:09 PDT by mitz
Modified: 2010-10-07 14:02 PDT (History)
0 users

See Also:


Attachments
Ignore the part of the line that overlaps the next line (2.08 KB, patch)
2010-10-07 13:14 PDT, mitz
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2010-10-07 13:09:22 PDT
<rdar://problem/8142645>

In the legacy (paint-time pagination) printing model, when there are overlapping lines, adjustPageHeightDeprecated() is not idempotent, since the truncation point imposed by line n, namely the top of line n, is above the bottom of line n-1, so in the next round, line n-1 moves the truncation point up again.

Patch forthcoming.
Comment 1 mitz 2010-10-07 13:14:49 PDT
Created attachment 70141 [details]
Ignore the part of the line that overlaps the next line
Comment 2 mitz 2010-10-07 14:02:25 PDT
Fixed in <http://trac.webkit.org/projects/webkit/changeset/69336>.