Re: [csswg-drafts] [css-sizing][css-overflow][css-flexbox] Ability to control the sizing of the overflown content area (#8725)

> The problem is not to handle things on the children, but control this on the parent.

It's the children who opt out of the default behavior by becoming scroll containers, so it's up to them to mitigate the negative effects.

> Can you elaborate? I've tried it on the .oh, and it didn't change anything for me.

https://software.hixie.ch/utilities/js/live-dom-viewer/saved/11533 Try Firefox. It seems Chrome has a bug.

> And this also means modifying a child

I don't get it, why can you set `overflow: hidden` on a child but you can't set `overflow: clip` on a child?

> we would be left with the issue of `justify-content`

That's by design, you want `safe center` instead of `center`. https://drafts.csswg.org/css-align-3/#overflow-values

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


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

Received on Saturday, 15 April 2023 21:41:05 UTC