Re: [csswg-drafts] naming conventions

`direction` already exists as a separate property totally [unrelated](https://drafts.csswg.org/css-writing-modes-3/#direction) to flexboxes. Wrapping also occurs in many other contexts than flexboxes. Is the fact that `border-width` property is not called just `width` also confusing for you? In my opinion, namespacing things with prefixes that unambiguously identify the relevant context is completely OK, it's quite common in CSS and in many other computer languages as well.

But there are proposals to reduce the duplication with new syntax, e.g. [property nesting](https://github.com/w3c/csswg-drafts/issues/1461#issuecomment-303944975). So, in theory, at some point the flexbox declaration might become like `.something { flex: { flow: row wrap; } }`. But would it really be more readable?

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1497#issuecomment-306117558 using your GitHub account

Received on Monday, 5 June 2017 06:57:54 UTC