Re: [csswg-drafts] [css-align] Allowing fallback alignments without breaking shorthands

The CSS Working Group just discussed `Syntax for fallback alignment in the place-* shorthands`, and agreed to the following resolutions:

* `RESOLVED: slash must be use to separate main value and fallback value in shorthand and longhands alignment properties`

<details><summary>The full IRC log of that discussion</summary>
&lt;fremy> Topic: Syntax for fallback alignment in the place-* shorthands<br>
&lt;TabAtkins> GitHub: https://github.com/w3c/csswg-drafts/issues/1002<br>
&lt;fremy> TabAtkins: we would like to allow all combinations in the shorthand that are possible in the longhands<br>
&lt;fremy> TabAtkins: but if we just allow spaces, this would be ambigous<br>
&lt;fremy> TabAtkins: we need to have a separator to know which values are fallback for what<br>
&lt;fremy> TabAtkins: usually this kind of separator is the slash "/"<br>
&lt;fremy> TabAtkins: but if we decide to use a separator, should we do axis-1 / axis-2 or value/fallback value/fallback<br>
&lt;fremy> TabAtkins: former is annoying because you always need the slash<br>
&lt;fremy> TabAtkins: I believe the latter is better for that reason<br>
&lt;Rossen> q?<br>
&lt;fremy> fantasai: sounds it would make the longhand easier to read<br>
&lt;fremy> fantasai: (the slash)<br>
&lt;fantasai> s/sounds/<br>
&lt;fantasai> s/sounds//<br>
&lt;fremy> TabAtkins: there would be a second proposal to make the longhand also have the slash<br>
&lt;fantasai> s/second//<br>
&lt;fremy> fantasai: The proposal is to do both, not just for shorthand<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/issues/1002#issuecomment-311501471<br>
&lt;fantasai> align-content: space-between / center<br>
&lt;fremy> TabAtkins: even align-content would use space-between / center<br>
&lt;fantasai> lace-content: space-between / center<br>
&lt;fremy> TabAtkins: with center as the fallback<br>
&lt;fantasai> place-content: space-evenly / start center<br>
&lt;fremy> Rossen: I like it better than what we have right now<br>
&lt;fantasai> align-content: space-evenly / start; justify-content: space-evenly / center<br>
&lt;fantasai> (same as above)<br>
&lt;TabAtkins> place-content: space-evenly space-between / center; &lt;= different distribution, same fallback<br>
&lt;fremy> rachelandrew: I think it makes sense<br>
&lt;fremy> Rossen: anyone else?<br>
&lt;fremy> Rossen: let's resolve then<br>
&lt;fremy> Rossen: any objection to use the slash for fallbacks in all alignments?<br>
&lt;fremy> RESOLVED: slash must be use to separate main value and fallback value in shorthand and longhands alignment properties<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1002#issuecomment-319634895 using your GitHub account

Received on Wednesday, 2 August 2017 10:34:19 UTC