Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
ideas:mistakes [2022/07/25 03:55] – Mark more words as code / Fix casing bramus | ideas:mistakes [2023/04/10 22:38] – fix typo fantasai |
---|
* ''white-space: nowrap'' should be ''white-space: no-wrap'' | * ''white-space: nowrap'' should be ''white-space: no-wrap'' |
* and line wrapping behavior should not have been added to ''white-space'' | * and line wrapping behavior should not have been added to ''white-space'' |
| * ''animation-iteration-count'' should just have been ''animation-count'' (like ''column-count''!) |
* ''vertical-align'' should not apply to table cells. Instead the CSS3 alignment properties should exist in Level 1. | * ''vertical-align'' should not apply to table cells. Instead the CSS3 alignment properties should exist in Level 1. |
* ''vertical-align: middle'' should be ''text-middle'' or ''x-middle'' because it's not really in the middle, and such a name would better describes what it does. | * ''vertical-align: middle'' should be ''text-middle'' or ''x-middle'' because it's not really in the middle, and such a name would better describes what it does. |
* ''background-position'' and ''border-spacing'' (all 2-axis properties) should take *vertical* first, to match with the 4-direction properties like ''margin''. | * ''background-position'' and ''border-spacing'' (all 2-axis properties) should take *vertical* first, to match with the 4-direction properties like ''margin''. |
* Not quite a mistake, because it was a reasonable default for the 90s, but it would be more helpful since then if `background-repeat` defaulted to `no-repeat`. | * Not quite a mistake, because it was a reasonable default for the 90s, but it would be more helpful since then if `background-repeat` defaulted to `no-repeat`. |
* The 4-value shorthands like ''margin'' should go counter-clockwise (so that the inline-start value is before the block-start value). | * The 4-value shorthands like ''margin'' should go counter-clockwise (so that the inline-start value is before the block-end value). |
* ''z-index'' should be called ''z-order'' or ''depth'' and should Just Work on all elements (like it does on flex items). | * ''z-index'' should be called ''z-order'' or ''depth'' and should Just Work on all elements (like it does on flex items). |
* ''word-wrap''/''overflow-wrap'' should not exist. Instead, ''overflow-wrap'' should be a keyword on 'white-space', like ''nowrap'' (''no-wrap''). | * ''word-wrap''/''overflow-wrap'' should not exist. Instead, ''overflow-wrap'' should be a keyword on 'white-space', like ''nowrap'' (''no-wrap''). |