[Webkit-unassigned] [Bug 22150] Color.cpp gives wrong colors for alpha < 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 30 02:46:06 PDT 2009


------- Comment #6 from ariya.hidayat at trolltech.com  2009-04-30 02:46 PDT -------
Created an attachment (id=29905)
 --> (https://bugs.webkit.org/attachment.cgi?id=29905&action=view)
potential fix for the problem

The problem with this patch is the rounding. Now (0.5/255.0) as the alpha value
will be treated as 1 (of max 255). Need to find out what CSS specs say about
this, or if this is just our implementation limitation (of using RGBA32).

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list