Closed Bug 413024 Opened 17 years ago Closed 17 years ago

Colored text is printed as white on Windows

Categories

(Core :: Printing: Output, defect, P1)

x86
Windows Vista
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dholbert, Assigned: vlad)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached file simple testcase
To reproduce, print the attached testcase.  The linked text should print, but it doesn't -- only its link-underline ends up being printed.


  Expected:  Before|This is some text that should be printable|After 

  Observed:  Before|__________________________________________|After 

I see this bug both in FF beta 2 and in a fresh trunk checkout from yesterday.
Flags: blocking1.9?
This actually only happens with *visited* links -- so you have to click the link text once, to make it purple, before the bug will be triggered.
Summary: Links text doesn't print on Windows → Visited-link text doesn't print on Windows
Version: unspecified → Trunk
Attached patch fixSplinter Review
Not sure how this happened, but simple fix -- anything except for black text was being rendered as white, since the color ints we were passing in as doubles were being clamped to [0,1] :)
Assignee: nobody → vladimir
Status: NEW → ASSIGNED
Attachment #298556 - Flags: review?(pavlov)
Flags: blocking1.9? → blocking1.9+
Priority: -- → P1
Attachment #298556 - Flags: review?(pavlov) → review+
(In reply to comment #3)
> anything except for black text
> was being rendered as white, 

Updating bug summary to reflect this.
Summary: Visited-link text doesn't print on Windows → Colored text is printed as white on Windows
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified fixed using the testcase and  Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3 - works as expected 

-> Verified fixed 
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: