Bug 76406 - Printing to PDF loses color on hyperlink
Summary: Printing to PDF loses color on hyperlink
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.7
: P2 Normal
Assignee: Nobody
URL: http://www.readability.com/articles/j...
Depends on:
Reported: 2012-01-16 15:55 PST by nw2uzh3766
Modified: 2012-01-16 16:00 PST (History)
1 user (show)

See Also:

ScreenShot_2012-01-16 (317.89 KB, image/png)
2012-01-16 15:55 PST, nw2uzh3766
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nw2uzh3766 2012-01-16 15:55:09 PST
Created attachment 122689 [details]

[related to bug #65076]

On Lion 10.7.2, when printing to a PDF, the hyperlinks are generated (only recently, since maybe Jan 1, 2012 ) correctly but the color from the hyperlink is gone, leaving little indication of the hyperlink in the PDF (unless you hover over the right words). See ScreenShot_2012-01-16. PDF in Preview.app on left; WebKit on right.
Comment 1 Mark Rowe (bdash) 2012-01-16 16:00:48 PST
This appears to be correct behavior given the print stylesheet that the page specifies. The print stylesheet referred to from <http://www.readability.com/articles/j2z3oj2i> is <http://du3itj18e4z0b.cloudfront.net/7eefe2/css/print.css>.  It contains the following rule:

a { color : #000 !important; }

That is, all hyperlinks should be black when printed.  You'll find that if you attempt to print pages other than those on readability.com that hyperlinks will be colored appropriately.