[csswg-drafts] [css-align] place-items shorthand has wrong grammar

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

== [css-align] place-items shorthand has wrong grammar ==
https://drafts.csswg.org/css-align/#place-items-property
The grammar allows `auto` in the first (or single) value.
It shouldn't allow it because `align-items` doesn't have an `auto` 
value:
https://drafts.csswg.org/css-align/#propdef-align-items

So, I think the correct grammar should be:
```
<x> = [ normal | stretch | <baseline-position> | <self-position> ]
place-items:  <x> [ auto | <x> ]?

```
IOW, `auto` should only be allowed as a second value.

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

Received on Friday, 25 November 2016 16:07:20 UTC