Bug 6337 - white-white gradients do not respect transparency
Summary: white-white gradients do not respect transparency
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 5969
  Show dependency treegraph
 
Reported: 2006-01-02 14:56 PST by Alexander Kellett
Modified: 2007-06-12 10:30 PDT (History)
1 user (show)

See Also:


Attachments
reduced testcase (832 bytes, image/svg+xml)
2006-01-02 14:58 PST, Alexander Kellett
no flags Details
possible fix (692 bytes, patch)
2006-01-02 16:22 PST, Alexander Kellett
a: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kellett 2006-01-02 14:56:08 PST
see attached testcase.
Comment 1 Alexander Kellett 2006-01-02 14:58:54 PST
Created attachment 5426 [details]
reduced testcase
Comment 2 Alexander Kellett 2006-01-02 15:24:47 PST
      <stop offset="0" stop-color="#fefefe" stop-opacity="0" />
-> correct
      <stop offset="0" stop-color="#fffefe" stop-opacity="0" />   (note, one digit, any digit, of color 
changed to 1)
-> incorrect
Comment 3 Alexander Kellett 2006-01-02 16:22:34 PST
Created attachment 5428 [details]
possible fix
Comment 4 Alexander Kellett 2006-01-22 09:40:35 PST
Comment on attachment 5428 [details]
possible fix

the bug is in quartz
Comment 5 Eric Seidel (no email) 2006-01-22 14:01:31 PST
We could still make a workaround where we detect this case and use slightly offwhite.  However the previous patch was not OK, as it changed all gradient colors.  We want one that just change white on white to slightly-not-white on white.  This will be made even easier when Hyatt changes our Color class to use 4 floats.
Comment 6 Eric Seidel (no email) 2006-12-26 17:15:39 PST
I thought we had decided this was a CG bug.  It would be nice if one of the Apple folks could test this on Leopard and close.
Comment 7 Mark Rowe (bdash) 2007-06-12 10:30:51 PDT
I tested and confirmed Eric's hypothesis that this was broken by another component in Mac OS X.