W3C home > Mailing lists > Public > www-style@w3.org > December 2014

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 16 Dec 2014 18:21:43 -0800
Message-ID: <5490E8B7.1050907@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:49 UTC