RESOLVED WONTFIX 31316
Clean up color-correction code on Windows
https://bugs.webkit.org/show_bug.cgi?id=31316
Summary Clean up color-correction code on Windows
Beth Dakin
Reported 2009-11-10 14:20:11 PST
I just committed a patch making -webkit-color-correction work for CSS Colors <https://bugs.webkit.org/show_bug.cgi?id=31196>. It broke with Windows build, and I got bweinstein to help me fix it <http://trac.webkit.org/changeset/50764>. Since we were primarily concerned with getting the build working again, I told him just to send DeviceColorSpace to setFillColor() and setStrokeColor(). All of the call sites he modified need to be revisited because that is probably not the correct solution.
Attachments
Beth Dakin
Comment 1 2009-11-11 20:32:58 PST
In addition to fixing the aforementioned call-sites, we also need to re-enable the feature! Unfortunately we had to disable it because of a CG bug. Once the bug is fixed, we need to re-enable and fix these call sites. See <https://bugs.webkit.org/show_bug.cgi?id=31363> for details of disabling.
Beth Dakin
Comment 2 2009-11-11 20:33:21 PST
<rdar://problem/7387791> Make -webkit-color-correction correct color on Windows
Beth Dakin
Comment 3 2009-12-08 15:20:49 PST
Turns out Windows renders in sRGB all the time! So this feature would be a no-op on Windows even if it was properly implemented. No work needs to be done for this to work, but we should still clean up the code and adjust all of the FIXMEs to reflect the new information that we have.
Tim Nguyen (:ntim)
Comment 4 2021-12-25 09:34:16 PST
Bug 147812 removed -webkit-color-correction.
Note You need to log in before you can comment on or make changes to this bug.