Bug 46030 - aintitcool.com paginates poorly when printing
Summary: aintitcool.com paginates poorly when printing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-18 00:29 PDT by Dave Hyatt
Modified: 2010-12-14 01:59 PST (History)
2 users (show)

See Also:


Attachments
Patch (9.79 KB, patch)
2010-09-18 00:34 PDT, Dave Hyatt
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.