Re: [w3ctag/design-reviews] CSS overflow: clip and overflow-clip-margin (#579)

@hober and I looked at this issue during our Gethen virtual f2f and the following is a summary of our discussion.
1. There is an existing clipping mechanism in CSS provided through the `clip` property. This is not ideal since it only applies to absolutely positioned elements, but it exists.
2. This proposal could be a good generalization of clipping since it could apply to most other elements and it provides better control through properties such as `overflow-clip-margin`. 

The problems we see with the approach are:
1. By introducing `overflow:clip` we are essentially adding a second mechanism for clipping to the platform
2. There is no clear expectation if `overflow-clip-margin` can or should apply to `clip`
3. The `overflow:clip` value makes clipping of scrollers impossible, a capability that is possible with `clip` property.

All in all, we don't see a clear path of convergence between the `clip` property and new `clip` value of `overflow`. We also don't see how one can become a superset of the other even if the goal was to overtake and deprecate `clip` property. 

At this point we are closing the issue until the above could be satisfied. Thank you for working for us. Happy to review another proposal when ready.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/579#issuecomment-918681465

Received on Tuesday, 14 September 2021 00:13:41 UTC