Flexbox shall not exist. At least in the way it is defined.
1. It breaks CSS box model that postulates that "width" defines element width. With flexbox that is not so as width can be overridden by flexbox in non-trivial manner.
2. flexibility shall be defined by flex/fraction units like in Grid module. So we may have:
4. Flexibility as an entity shall be expressed uniformly among different CSS modules. Instead of bunch of separate flex-** properties and separate FR units it should be just flex units width:2*; and flex functions if that is needed.
1. It breaks CSS box model that postulates that "width" defines element width. With flexbox that is not so as width can be overridden by flexbox in non-trivial manner.
2. flexibility shall be defined by flex/fraction units like in Grid module. So we may have:
3. CSS and HTML shall have unified flex units. Flexibility in HTML uses ** units like and so CSS might use that as 4. Flexibility as an entity shall be expressed uniformly among different CSS modules. Instead of bunch of separate flex-** properties and separate FR units it should be just flex units width:2*; and flex functions if that is needed.-----------------------
"box-sizing" shall have also padding-box value.
When defined padding shall go into scrollable content : https://terrainformatica.com/2019/10/17/css-overflow-padding...
In general box-sizing is broken (or under specified) in regard of paddings of the element.
-----------------------
"outline" shortcut property shall include outline-offset value too.
-----------------------
"visibility" shall have "none" value.
shall be treated as display:none and display shall not have none value. So for hiding/showing a table for example we can use But not which is obviously wrong.In short: visibility and display model shall be orthogonal.
-----------------------
Syntax:
Modules shall use functional notation rather introducing bunch of conflicting prefixed properties, so use this
instead of Different modules in future may also want to have grid-columns, etc.------------------------
// - line ending comments please