Bug 45827 - Fail to print article from Google reader
Summary: Fail to print article from Google reader
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL: http://www.google.com/reader/view
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 12:01 PDT by kmadhusu
Modified: 2010-09-23 16:41 PDT (History)
0 users

See Also:


Attachments
Patch (1.22 KB, patch)
2010-09-15 12:01 PDT, kmadhusu
mitz: review-
Details | Formatted Diff | Diff
Observed output (90.71 KB, application/pdf)
2010-09-15 12:02 PDT, kmadhusu
no flags Details
Expected output (90.74 KB, application/pdf)
2010-09-15 12:03 PDT, kmadhusu
no flags Details
reduced test case (525 bytes, text/html)
2010-09-23 14:16 PDT, kmadhusu
no flags Details
Expected test case output (29.71 KB, application/pdf)
2010-09-23 14:32 PDT, kmadhusu
no flags Details
Observed test case output (29.69 KB, application/pdf)
2010-09-23 14:33 PDT, kmadhusu
no flags Details
Test case without involving printing. (930 bytes, text/html)
2010-09-23 16:41 PDT, kmadhusu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kmadhusu 2010-09-15 12:01:38 PDT
Created attachment 67696 [details]
Patch

Reproducible only on Safari and Chrome.

Steps to reproduce:
1. Go to http://www.google.com/reader/
2. Log in
3. Print a reader article.

Observation:
When we print any article from Google reader, sometimes webkit prints  only a row on header and a white page, sometime half page. To my investigation, the coordinates of the printed article is shifted by the scroll offset value. So I made code change to add the positioned ancestor scroll offset value to the current node coordinates.  

Note:
Issue: http://code.google.com/p/chromium/issues/detail?id=46076
Comment 1 kmadhusu 2010-09-15 12:02:41 PDT
Created attachment 67697 [details]
Observed output
Comment 2 kmadhusu 2010-09-15 12:03:02 PDT
Created attachment 67698 [details]
Expected output
Comment 3 mitz 2010-09-15 12:07:26 PDT
Comment on attachment 67696 [details]
Patch

No regression test, no change log. r-
Comment 4 kmadhusu 2010-09-23 14:16:43 PDT
Created attachment 68585 [details]
reduced test case
Comment 5 kmadhusu 2010-09-23 14:32:53 PDT
Created attachment 68590 [details]
Expected test case output
Comment 6 kmadhusu 2010-09-23 14:33:12 PDT
Created attachment 68592 [details]
Observed test case output
Comment 7 kmadhusu 2010-09-23 16:41:01 PDT
Created attachment 68617 [details]
Test case without involving printing.