Bug 85377 - Wide tables break page layouting during printing
Summary: Wide tables break page layouting during printing
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-02 08:22 PDT by Milian Wolff
Modified: 2012-05-02 08:28 PDT (History)
0 users

See Also:


Attachments
page-break-before testcase (954 bytes, text/html)
2012-05-02 08:23 PDT, Milian Wolff
no flags Details
line page-break testcase (8.55 KB, text/html)
2012-05-02 08:24 PDT, Milian Wolff
no flags Details
qt results for page-break-before testcase (9.59 KB, application/pdf)
2012-05-02 08:26 PDT, Milian Wolff
no flags Details
qt results for line page-break testcase (13.24 KB, application/pdf)
2012-05-02 08:27 PDT, Milian Wolff
no flags Details
chromium results for page-break-before testcase (35.26 KB, application/pdf)
2012-05-02 08:28 PDT, Milian Wolff
no flags Details
chromium results for line page-break testcase (64.89 KB, application/pdf)
2012-05-02 08:28 PDT, Milian Wolff
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2012-05-02 08:22:35 PDT
When a wide table is printed (see attached test1.html and test2.html), the page layouting is severely broken:

- broken handling of page-break-* css attributes, see test1.chromium.pdf and test1.qt.pdf
- page-breaks in text lines (i.e. upper half of the text on one page, lower half of the line on the following page), see test2.chromium.pdf and test2.qt.pdf

With some input and help, I could try to write a patch. So if someone can point me into the proper directions, please do so.

Cheers
Comment 1 Milian Wolff 2012-05-02 08:23:44 PDT
Created attachment 139818 [details]
page-break-before testcase
Comment 2 Milian Wolff 2012-05-02 08:24:36 PDT
Created attachment 139819 [details]
line page-break testcase
Comment 3 Milian Wolff 2012-05-02 08:26:43 PDT
Created attachment 139820 [details]
qt results for page-break-before testcase
Comment 4 Milian Wolff 2012-05-02 08:27:27 PDT
Created attachment 139821 [details]
qt results for line page-break testcase
Comment 5 Milian Wolff 2012-05-02 08:28:31 PDT
Created attachment 139822 [details]
chromium results for page-break-before testcase
Comment 6 Milian Wolff 2012-05-02 08:28:51 PDT
Created attachment 139823 [details]
chromium results for line page-break testcase