Re: [fxtf-drafts] [filter-effects] SVG filter for invert not working properly (#462)

Yes, that's correct.  The SVG spec says that `<filter>` elements default to
the linear colorspace. Whereas the CSS spec specifies that filter functions
always operate in the sRGB colour space.

References:

https://www.w3.org/TR/SVG11/single-page.html#painting-ColorInterpolationFiltersProperty

color-interpolation-filters has an initial value of linearRGB



https://drafts.fxtf.org/filter-effects/#FilterProperty

color-interpolation-filters has no affect for Filter Functions. Filter
> Functions must operate in the sRGB color space.



On Mon, 25 Jul 2022 at 17:46, Blake Gearin ***@***.***> wrote:

> It appears you must specify sRGB to resolve this issue: <filter
> color-interpolation-filters="sRGB">...</filter>
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/fxtf-drafts/issues/462#issuecomment-1193607490>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAGNEYC5EA6HC6S4BU4IP7LVVYS25ANCNFSM54QME5GQ>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>


-- 
GitHub Notification of comment by BigBadaboom
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/462#issuecomment-1193936804 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 25 July 2022 11:36:54 UTC