Bug 46030

Summary: aintitcool.com paginates poorly when printing
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: PrintingAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal CC: atwilson, eric
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch sam: review+

Description Dave Hyatt 2010-09-18 00:29:31 PDT
Go to aintitcool.com and print it.  It paginates poorly.  This happens because the site always has a document width that will exceed the page width.  We incorrectly apply a double scale instead of clipping after the first scale still doesn't fit.
Comment 1 Dave Hyatt 2010-09-18 00:34:51 PDT
Created attachment 67998 [details]
Patch
Comment 2 Sam Weinig 2010-09-20 09:09:39 PDT
Comment on attachment 67998 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=67998&action=review

> WebCore/ChangeLog:9
> +        The fix for the issue is to cap the right layout overflow to the page width and ot just clip out

Typo. ot -> to (or you could change it to "and going ahead and just clip.."
Comment 3 Andrew Wilson 2010-09-20 10:26:09 PDT
The chromium try bots (which run pixel tests) show that the following tests are now failing after this change:

LayoutTests/fast/repaint/table-cell-move.html
LayoutTests/fast/repaint/table-extra-bottom-grow.html

The resulting tables seem to be the wrong height.