Re: [csswg-drafts] [css-overflow-3][css-overflow-4][css-box-3] A switch for bottom/right (end) overflow to not be scrollable contribution, like top/left (start) (#3953)

@fantasai Sorry, I do realize the test case is far from concise, and moreso my explanation. I'm using negative margins because of their usefulness within the sticky positioning scheme (see #2496), to make "bookends" that cover the main scrolling content at the beginning and end of the scroll container.

But sometimes the bookends and scrollHeight are both small enough that scrollable contribution breaks the layout when using `overflow:visible`, which is desired for showing the content behind semitransparent bookends. To remedy the scrollable contribution, I could use `overflow:clip` but then it inhibits the ability to show the main content behind the semitransparent bookends. I think that's as simple as I can explain it right now. :)

In other news, I'll close this in confidence that #8361 gets us a solution which won't require `overflow:clip` and then be able to set some other property on that overflowing element or its descendants.



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


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

Received on Friday, 24 February 2023 06:19:27 UTC