Re: [csswg-drafts] [css-align] Content-distribution keywords that fall back to "center" can't be made safe (#5088)

> If you use content-distribution keyword, like "space-between" on a flexbox or grid, and the content overflows the container, it defaults to unsafely centering the content.

I think you mean `space-around` or `space-evenly`, right?  (Not `space-between` -- that one [falls back to `flex-start`](https://drafts.csswg.org/css-align/#valdef-align-content-space-between). The other two do fall back to `center` though. Testcase: https://jsfiddle.net/dholbert/f1b4eo0n/

> I propose that we specify that the distribution keywords that currently fall back to "center" instead fall back to "safe center".

This proposal seems reasonable to me.

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

Received on Tuesday, 26 May 2020 06:08:07 UTC