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

@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