[Webkit-unassigned] [Bug 61256] Print HTML with only 1 line, then 2 pages are printed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 07:28:22 PDT 2011


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





--- Comment #33 from Kentaro Hara <haraken at google.com>  2011-06-03 07:28:22 PST ---
> I can only reproduce the problem in Safari 5.0.5 on Mac, but not with ToT WebKit (single process or multiple process).

Would you please tell me the ToT WebKit revision, paper size and printer?

I found that the regression happens at WebKit r77257.
On all of Mac Safari, Mac Chromium and Linux Chromium, only one page
is printed with WebKit r77256 but two pages are printed with WebKit
r77257 when I print an HTML page with one word into A4 portrait size
PDF.

I added a new test (printing/page-count-with-one-word.html). This test
checks if only one page is printed for an HTML page with one word for
various paper sizes around A4 portrait size, i.e. [500px, 600px) for
width and [700px, 800px) for height.

> I'm still unsure if adding a 1-pt tolerance is the right solution.

I agree. I found the case where my current patch fails.
Now I am working on a new patch that does not depend on heuristic tolerance.

-- 
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