Re: [csswg-drafts] [css-color] [filter-effects] Should no-op filters produce different output from no filter? (#7100)

> I'd prefer that no-op CSS filters (like `blur(0)`, `saturate(1)` etc) act like no filter is applied, which means they can't use sRGB interpolation by default. I'd prefer this for two reasons:
> 
> 1. Web developers working on sRGB displays don't unintentionally clamp filtered Display-P3 assets to sRGB inside no-op filters
> 2. User agents can optimize away no-op filters from their rendering pipeline

One argument against this is that we generally want to avoid discontinuities at special values. If we're animating between `filter: blur(1)` and `filter: blur(0)` for example, it would look odd if at the `blur(0)` state the colors changed because we're no longer flattening to sRGB.

-- 
GitHub Notification of comment by heycam
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7100#issuecomment-1118042045 using your GitHub account


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

Received on Thursday, 5 May 2022 00:13:33 UTC