Re: [csswg-drafts] [filter-effects-2] Allow masking of filters (#13288)

> Also, with that logic, if you have something like:
> 
> .filtered {
>   filter-mask: linear-gradient(transparent, black);
> }
> 
> And
> 
> .filtered {
>   filter: brightness(100%);
>   filter-mask: linear-gradient(transparent, black);
> }
> 
> You'd get 2 different results, which IMO is highly unexpected.

Good point! I agree that this is probably unexpected.

That still leaves us with the issue that there is no no-op for `drop-shadow()` and custom effects. So what should happen in those cases?

Sebastian

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


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

Received on Wednesday, 18 February 2026 12:35:42 UTC