[css-align] Combining 'stretch' with 'true'/'safe'

Tab and I ran into a point of disagreement this afternoon with some of the
edits he checked in a few months ago.

Previously the syntax of align/justify-self was

   auto | stretch | <baseline-position> | [ <item-position> && <overflow-position>? ]

where

   <item-position> = center | start | end | self-start | self-end |  flex-start | flex-end | left | right;
   <overflow-position> = true | safe

Tab folded 'stretch' into <item-position>. This has the side effect of allowing not only
   align-self: stretch;
but also
   align-self: true stretch;
   align-self: safe stretch;

So we'd like feedback on this issue:

   Option A: Allow 'true'/'self' in combination with 'stretch'.
   Rationale: This is meaningless, consistent with how combining these keywords
              with 'start' is meaningless.

   Option B: Disallow 'true'/'self' in combination with 'stretch'.
   Rationale: This is disallowed, consistent with how combining these keywords
              with the <content-distribution values (space-between | space-around
              | space-evenly | stretch) are disallowed in 'align-content'.

~fantasai

Received on Wednesday, 17 December 2014 02:22:16 UTC