[Webkit-unassigned] [Bug 114303] feColorMatrix filter renders poorly via CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 26 07:21:41 PDT 2014


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


lveith at t-online.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lveith at t-online.de




--- Comment #5 from lveith at t-online.de  2014-09-26 07:21:40 PST ---
(In reply to comment #3)
> Created an attachment (id=204766)
 --> (https://bugs.webkit.org/attachment.cgi?id=204766&action=review) [details]
>  Same feColorMatrix applied via SVG or CSS, different results
> 
> Filter of the SEPIA kind, very simple.
> Watch the differences.  SVG is correct.
> 
> Also, you can view this attachment on Moz/Firefox.
> They do it the right way!

It helps when "color-interpolation" and "color-interpolation-filters" is not set auto(-matic),
it must set to the same value "sRGB" (or otherwise both to same value "linearRGB").

Possible values for svg-attribute "color-interpolation" and "color-interpolation-filters":  auto | sRGB | linearRGB | inherit
- Example1: <svg><def><filter color-interpolation="sRGB" color-interpolation-filters="sRGB">....</filter></def></svg>
- Example2: <svg color-interpolation="sRGB" color-interpolation-filters="sRGB"><def><filter>....</filter></def></svg>

Possible values for css-style "color-interpolation" and "color-interpolation-filters":  auto | srgb | linearrgb | inherit
Example:  <style> * { color-interpolation: srgb; color-interpolation-filters: srgb; } </style>

Maybe Definition shows something like this, before both parameters set to same value.
----- HTML/SVG-Element -------
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
----- HTML/SVG/filter-Element -------
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
----- HTML/SVG/image-Element -------
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
----- HTML/img-Element -------
color-interpolation: srgb;
color-interpolation-filters: linearrgb;

-- 
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