Re: [csswg-drafts] [css-masking] Find a way for clip-path to play nicely with borders and filters (#5881)

What about a `clip-type` property? That property would define to what `clip-path` applies and how it works.

The default value would then define the current behavior and a second one the behavior @noamr describes.

Having this as a separate property allows to change or animate the path without having to re-define the clipping behavior.

(And with that, maybe `clip` could be revived as a shorthand for both. Though that discussion is off-topic.)

Sebastian

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


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

Received on Wednesday, 29 June 2022 20:00:25 UTC