[webkit-dev] Proposal: Remove CSS color-correction property

Dirk Schulze dschulze at adobe.com
Wed Jul 1 23:36:43 PDT 2015


Hi Darin,

> On Jul 1, 2015, at 5:16 PM, Darin Adler <darin at apple.com> wrote:
> 
> Hi folks.
> 
> WebKit has a CSS property named color-correction. It’s still prefixed, so some would call it -webkit-color-correction and I don’t think it’s yet been proposed as a CSS standard.
> 
> Apple engineers added this a while back so that WebKit could continue interpret webpage and image colors as device native color space for performance and to match content from legacy plug-ins. The property allowed some web content to specify sRGB to get predictable results when correctness mattered more than performance.
> 
> If I’m not mistaken, this optimization is no longer effective on either of the Apple platforms. I’m pretty sure we always do the color correction. I suspect no one needs this feature.

Do you mean that WebKit uses sRGB by default now? I thought the default would still be DeviceRGB.

Greetings,
Dirk

> 
> I suggest we remove the property.
> 
> Does anyone know a good reason not to remove it? I won’t necessarily land the code to remove it right away, but I’d like to get agreement on this now so I can do that later.
> 
> — Darin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev


More information about the webkit-dev mailing list