Re: [csswg-drafts] [css-align] Add shorthands for alignment properties

Well, the order will be writing-mode dependent, because it's defining 
a shortcut for `align-*` and `justify-*` which do change based on 
either the writing-mode or the flex/grid direction. But I agree, the 
order `justify / align` or 'align / justify` should always be the 
same, and not change. It's just that whether each affects X or Y axis 
directions will change.

Ah, complexity.

I'm hearing folks advocate that this is more consistent with other 
CSS: 
```
place-items: <'justify-items'> / <'align-items'>;
place-self: <'justify-self'> / <'align-self'>;
place-content: <'justify-content'> / <'align-content'>;
```

Handle what is (in the defaults of `horizontal-tb` writing mode with 
`flex-direction: row` or `grid-auto-flow: row`) typically in the 
X-direction first, followed by the Y-direction.

Just for reference, `making` and `padding` start with top, and rotate 
clockwise, while `grid-area` starts with top and rotates 
counter-clockwise. It makes sense to me to make `place-*` follow the 
patterns set by CSS that has X & Y, rather than four values, if in 
fact those aren't consistent. 

I'm going to ask around what people think would be better for this, to
 get some more voices.

-- 
GitHub Notification of comment by jensimmons
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/595#issuecomment-261330842 
using your GitHub account

Received on Thursday, 17 November 2016 18:39:29 UTC