Bug 176922

Summary: RGBA don't round-trip through ExtendedColor
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebCore Misc.Assignee: Dean Jackson <dino>
Status: NEW    
Severity: Normal CC: darin, simon.fraser, thorton
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2017-09-14 10:53:32 PDT
This code doesn't work: Color color(0.0, 0.0, 0.0, 0.5, ColorSpaceSRGB); ... float red, green, blue, alpha; color.getRGBA(red, green, blue, alpha); That's pretty bad.
Attachments
Darin Adler
Comment 1 2017-11-30 15:16:16 PST
I have a set of extended color improvements that includes a fix for this along with many other things. However, don’t need to wait for me if someone else wants to fix sooner.
Note You need to log in before you can comment on or make changes to this bug.