[Webkit-unassigned] [Bug 113174] Composing a filter with the identity function shouldn't change its effect.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 09:28:51 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=113174





--- Comment #5 from Dominic Mazzoni <dmazzoni at google.com>  2013-03-25 09:31:18 PST ---
> I think the version with the invert-plus-identity filter is actually correct

Not unless I'm misunderstanding the spec. I did a screenshot and measured the color values, and Chrome's invert is doing exactly what I'd expect in linearRGB space, i.e. each color value x maps to exactly 1.0 - x.

It does appear that adding a second filter is causing it to switch to sRGB.

The spec says that filters should be linearRGB unless otherwise specified - or am I reading it wrong?

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


More information about the webkit-unassigned mailing list