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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Darin Adler
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.