W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

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

From: Keith Grant via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Nov 2016 17:48:55 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-261018666-1479318534-sysbot+gh@w3.org>
Hm, my inclination is for horizontal to go first. Properties w/ four 
values like margin, padding, and border-* go clockwise around all four
 sides—the vertical then horizontal shorthand is merely a truncated 
version of this—whereas properties that deal with x / y coordinates 
(e.g. background-position) are horizontal first.

Then again, `grid-area` is a whole new order that doesn't really fit 
either of those paradigms. So maybe matching `grid-area` (vertical 
first) makes sense in this context.

GitHub Notification of comment by keithjgrant
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 16 November 2016 17:49:01 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC