Bug 41694

Summary: Extra page when printing html ending with an overflow: hidden div
Product: WebKit Reporter: Robert (Jamie) Munro <rjmunro>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, bfulgham, haraken
Priority: P3 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Reduced test page
none
STP 152 generates single page PDF none

Robert (Jamie) Munro
Reported 2010-07-06 06:29:03 PDT
Created attachment 60625 [details] Reduced test page If you have an html page that ends with a div that has overflow hidden set, but the content of the div would have been long enough to cause an extra page to be printed, an extra page will be generated with just a few pixels from the bottom of the div. To reproduce, print the attached file. It should print on 1 A4 page, but a second page is generated. Discovered in wkhtmltopdf on Ubuntu. Reproduced in Safari, Chrome and latest daily build of WebKit on Windows.
Attachments
Reduced test page (1.32 KB, text/html)
2010-07-06 06:29 PDT, Robert (Jamie) Munro
no flags
STP 152 generates single page PDF (23.53 KB, application/pdf)
2022-08-31 01:00 PDT, Ahmad Saleem
no flags
Ahmad Saleem
Comment 1 2022-08-31 01:00:22 PDT
Created attachment 462025 [details] STP 152 generates single page PDF I am unable to reproduce this bug in STP 152 and as can be seen from attached that it just generates "1" page PDF rather than "2" page as mentioned in the Comment 0. I am going to mark this as "RESOLVED CONFIGURATION CHANGED" but if it is reproducible then please reopen. Thanks!
Note You need to log in before you can comment on or make changes to this bug.