Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-filter-effects-1] color-interpolation-filters should respect the initial value #572

Open
svgeesus opened this issue Aug 28, 2024 · 1 comment

Comments

@svgeesus
Copy link
Contributor

svgeesus commented Aug 28, 2024

From 10. The color-interpolation-filters property

Initial: linearRGB

linearRGB Indicates that filter effects color operations should occur in the linear-light sRGB color space.

Originally reported by @hansottowirtz

The SVG filter operations should be done in sRGB space and not in display space (as is currently the case in Chromium, but not in Safari and Firefox))

Some implementations perform filter effects in whatever the display colorspace is, instead of in (linear-light) sRGB, thus giving completely wrong colors which are very visible.

@svgeesus svgeesus changed the title color-interpolation-filters should respect the initial value [css-filter-effects-1] color-interpolation-filters should respect the initial value Aug 28, 2024
@hansottowirtz
Copy link

I updated the wording to be more clear (Chromium has the bug):

The SVG filter operations should be done in sRGB space and not in display space (Safari and Firefox use sRGB space, Chromium uses display space)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants