Skip to content

[filter-effects-1] color-interpolation-filters can affect feOffset #5138

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

Open
litherum opened this issue May 29, 2020 · 1 comment
Open

[filter-effects-1] color-interpolation-filters can affect feOffset #5138

litherum opened this issue May 29, 2020 · 1 comment

Comments

@litherum
Copy link
Contributor

litherum commented May 29, 2020

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

The note says:

The color-interpolation-filters property just has an affect on filter operations. Therefore, it has no effect on filter primitives like <feOffset> ...

In feOffset, the dx and dy values don't have to be integral, which means it may perform interpolation between adjacent pixels. Interpolation is sensitive to color space. I think <feOffset> actually can be sensitive to color-interpolation-filters.

@longsonr
Copy link

longsonr commented Jun 6, 2020

In Firefox, at least we convert dx and dy to integers before we do anything with them.

fantasai added a commit to fantasai/csswg-drafts that referenced this issue Mar 27, 2021
fantasai added a commit to fantasai/csswg-drafts that referenced this issue Apr 6, 2021
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