Bug 76406

Summary: Printing to PDF loses color on hyperlink
Product: WebKit Reporter: nw2uzh3766
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mrowe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.7   
URL: http://www.readability.com/articles/j2z3oj2i
Attachments:
Description Flags
ScreenShot_2012-01-16 none

Description nw2uzh3766 2012-01-16 15:55:09 PST
Created attachment 122689 [details]
ScreenShot_2012-01-16

[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.