W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-grid] axis names

From: Chris Harvey via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Apr 2017 17:11:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-297779424-1493313089-sysbot+gh@w3.org>
@SelenIT — I like the idea of using **block-axis** and **inline-axis** to be consistent with the writing mode and direction. I haven't tested, but I assume in a *vertical writing mode* that the "column axis" (as it is currently called) would be horizontal, and "row axis" (current definition) would be vertical? In that case it does indeed seem counter-intuitive to call them "columns" and "rows".

So this poses the question of whether naming all the grid properties (e.g., `grid-template-columns`) is relative to writing mode. But I think if we convince ourselves that "column" and "row" need not directly correspond do "vertical" and "horizontal", respectively, then we can let the property names slide.

I still think that the current naming of the axes should be revisited. If "column-axis" and "row-axis" can't be switched, I'm in favor of "block-axis" and "inline-axis."

In fact, while we're at it, it would also be nice if "cross-axis" and "main-axis" (in the Flexbox layout) were also respectively changed to "block-axis" and "inline-axis," for consistency's sake.

-- 
GitHub Notification of comment by chharvey
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1299#issuecomment-297779424 using your GitHub account
Received on Thursday, 27 April 2017 17:11:36 UTC

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