Re: [csswg-drafts] background-clip has not kept up with element clip styles. Needs to be able to accept polygon, rect etc (#12874)

This was previously proposed (https://github.com/w3c/csswg-drafts/issues/3140), but the conversation never started.

It's a niche design need, but I would have assumed I could already do this if I hadn't been reading otherwise for the last few minutes. It fits nicely with how `clip-path` and `offset-path` - though the naming of both of those makes me wonder if this should be `background-path` instead.

The naming of these isn't totally consistent. Both `background-clip` and `mask-clip` lack shape features, but work with the content/margin/padding box (etc.) instead. But `clip-path` and `offset-path` can do both at the same time.



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


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

Received on Monday, 29 September 2025 16:56:55 UTC