[csswg-drafts] [css-align] justify-items synxtax doesn't allow 'overflow [leff | right]'

javifernandez has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] justify-items synxtax doesn't allow 'overflow [leff | right]'  ==
After soe changes, due to ambiguities with the place-self and place-items shorthands, it was decided to restrict the position of the overflow-alignment values. That's fine. However, I'm not sure the current syntax for the justify-items is the one we were looking for: 

https://drafts.csswg.org/css-align-3/#propdef-justify-items
> | normal \| stretch \| \<baseline-position\> \| [ \<overflow-position\>? \<self-position\> ] \| [ legacy \|\| [ left \| right \| center ] ]

If I understood it correctly, the syntax above parses as invalid CSS declarations like 'overflow leff'. As a matter of fact, overflow-positions is only valid if used with a self-position. However, the justify-self syntax parses as valid the combination with 'left' and 'right' as well. 

Is this the intended behavior ? 






Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2188 using your GitHub account

Received on Tuesday, 16 January 2018 01:14:52 UTC