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

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

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Apr 2017 00:48:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-297877648-1493340499-sysbot+gh@w3.org>
@chharvey I wouldn't change the terminology in flexbox. For example, in horizontal writing mode, the block axis is defined to be vertical, but you can still have either a vertical or horizontal main axis via flex-direction. I guess it would be possible to redefine block and inline axis to mean different things depending on the formatting context, but changing the terminology would be confusing because flex layout does not have blocks and inlines, all flex items are blockified.

But 'row axis' and 'column axis' don't seem to be relevant in CSS Grids, they are only used in a sentence which references both and in an example. I don't see any problem in removing them. Otherwise they should be swapped for consistency.

    ┌————————————————————————————→  Inline axis
    │  ┌─Block─────────────────┐
    │  │ ┌─Inline─┐ ┌─Inline─┐ │
    │  │ └────────┘ └────────┘ │
    │  └───────────────────────┘
    │  ┌─Block─────────────────┐
    │  └───────────────────────┘
    ↓ Block axis

    ┌—————————————————————————————————→  Row axis (current definition)
    │        ┌─Column─┐  ┌─Column─┐
    │  ┌─Row─┼────────┼──┼────────┼─┐
    │  └─────┼────────┼──┼────────┼─┘
    │  ┌─Row─┼────────┼──┼────────┼─┐
    │  └─────┼────────┼──┼────────┼─┘
    │        └────────┘  └────────┘
    ↓ Column axis (current definition)


GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1299#issuecomment-297877648 using your GitHub account
Received on Friday, 28 April 2017 00:48:27 UTC

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