W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-contain] Add contain-paint-margin CSS property (#4934)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 May 2020 16:04:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-625887794-1588953875-sysbot+gh@w3.org>
> An interesting question is whether it should apply to clip path or not.

I would strongly argue no. The geometric nature of the clipping is too different. We can leave open the possibility of a `clip-path-margin` in the future if a need ever arises, but for now the most important thing is to make sure that the name of _this_ property is clear that it doesn't affect `clip-path` clipping.

Based on the agreement in the call, I'd lean towards the name `overflow-margin` (although that might be confused for something that affects scrolling), `overflow-paint-margin`, or `overflow-clip-margin`. Focusing on overflow emphasizes that this is about clipping the child content, not the painting of this element itself. (If _we_ were all confused about that, other people are going to be confused about it.) Another option would be to name it `content-paint-margin` to match with the `content-visibility` name we chose in #4843 .


-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4934#issuecomment-625887794 using your GitHub account
Received on Friday, 8 May 2020 16:05:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC