W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

[csswg-drafts] [css-align][css-flexbox] Align & Flex specs disagree about fallback behavior for align-content/justify-content: space-between"

From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Feb 2018 00:17:32 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-297643279-1518740251-sysbot+gh@w3.org>
dholbert has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align][css-flexbox] Align & Flex specs disagree about fallback behavior for align-content/justify-content: space-between" ==
The flexbox specs and alignment specs both have instructions about the fallback behavior of `justify-content: space-between`, and they contradict each other.

The flexbox spec says it falls back to 'flex-start':
> If...there is only a single flex item on the line, this value is identical to 'flex-start'.
https://drafts.csswg.org/css-flexbox-1/#valdef-justify-content-space-between
https://drafts.csswg.org/css-flexbox-1/#valdef-align-content-space-between

Whereas the align spec says it falls back to 'start':
> The default fallback alignment for this value is 'start'.
https://drafts.csswg.org/css-align/#valdef-align-content-space-between

Note that 'start' and 'flex-start' sound similar but are subtly different in a flexbox context, so the distinction is important.

Could these specs be clarified to be non-contradictory on this point?

(I think the flexbox spec just needs an update.... I guess flexbox doesn't know about 'start' and 'end' keywords and the other "new" things in the css-align spec, so maybe it's tricky to reference those from flexbox. Still: the current text that I quoted above ["this value is identical to 'flex-start'"] is clearly incorrect & problematic, if the align spec is really authoritative on this point.)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2316 using your GitHub account
Received on Friday, 16 February 2018 00:17:34 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC