Re: [csswg-drafts] [css-overflow] How does overflow-clip-margin: border-box behave on a scroll container? (#7246)

@bramus I think there are two use cases outlined here. One of them is the chat messages example from @matthewferry, where the clip rect for the scrollable overflow is defined by layout (of an ancestor).

But another is the example given by @Westbrook and @argyleink, where there's some kind of ink overflow and they want to let it overflow the scroller. For those, applying `overflow-clip-margin` would make more sense. These can often be worked around by increasing the padding within the scroller, though (which would also be useful if, for example, the author later decided to add a background color or border to the scroller), so I'm not sure how necessary it is to add... though if we're already having infinitely overflowing scrollable overflow, making a fixed `overflow-clip-margin` work is probably not that hard.

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


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

Received on Wednesday, 17 May 2023 20:04:56 UTC