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

@ydaniv

> Actually you can do the B effect. The A one I'm not so sure. But if we introduce this syntax into CSS and allow usage of math and mixing functions you can probably get there.

That's what I thought. And I am well aware of SVG filters. Though I don't think masking as described here is possible with those filters. And _if_ it is, it's presumably either hacky or requires a lot of math and is not very performant.

With that said, I do like the idea of an `@filter` rule to define custom filters. But I think that's something separate from this feature.

Sebastian

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


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

Received on Monday, 5 January 2026 13:16:29 UTC