Open Loirooriol opened 22 hours ago
The fallback alignment for distributed alignments is:
space-between
safe flex-start
space-around
safe center
space-evenly
stretch
flex-start
However, authors may want different fallbacks, e.g. #11244 wants space-between but falling back to safe center instead of safe flex-start. I could also imagine wanting e.g. space-evenly but falling back to unsafe center.
unsafe center
So we could generalize the syntax from https://drafts.csswg.org/css-align/#align-justify-content, e.g.
<'align-content'> = normal | <content-distribution> | <foo> | <content-distribution>, <foo> <foo> = <baseline-position> | <overflow-position>? <content-position> <'justify-content'> = normal | <content-distribution> | <bar> | <content-distribution>, <bar> <bar> = <overflow-position>? [ <content-position> | left | right ]
The fallback alignment for distributed alignments is:
space-between
:safe flex-start
space-around
:safe center
space-evenly
:safe center
stretch
:flex-start
However, authors may want different fallbacks, e.g. #11244 wants
space-between
but falling back tosafe center
instead ofsafe flex-start
. I could also imagine wanting e.g.space-evenly
but falling back tounsafe center
.So we could generalize the syntax from https://drafts.csswg.org/css-align/#align-justify-content, e.g.