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

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

From: Chris Harvey via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Apr 2017 17:03:30 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-224536468-1493226209-sysbot+gh@w3.org>
chharvey has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] axis names ==
https://www.w3.org/TR/css-grid-1/#grid-concepts

>From the spec,

> There are two sets of grid lines: one set defining columns that run along the block axis (the column axis), and an orthogonal set defining rows along the inline axis (the row axis).

This seems backwards to me. The first set of grid lines, the set containing the columns, should be called the **column axis**. This axis, in top-bottom writing modes, would be horizontal, parallel to the window's x-axis, and to the inline axis. The set of rows should be called the **row axis**, which, in top-bottom writing modes, would be vertical, parallel to the y- and block axes.

>From a mathematical point of view, the name of the axis indicates the values that lie on that axis. E.g. the "x-axis" is the axis on which x-values increase. So it seems that naturally, the axis on which column numbers increase should be called the **column axis** (horizontal), and the axis on which row numbers increase (the vertical axis) should be called the **row axis**.

I'm not sure if switching these terms is a good idea, however, given the precedent and the status of the CSS Grid Layout Module Level 1 document (currently, Candidate Recommendation). However I wanted to express my concerns anyway, in case my viewpoint hadn't been considered.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1299 using your GitHub account
Received on Wednesday, 26 April 2017 17:03:36 UTC

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