Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ideas:mistakes [2022/07/25 03:55] – Mark more words as code / Fix casing bramusideas:mistakes [2023/04/10 22:38] – fix typo fantasai
Line 5: Line 5:
   * ''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.
Line 13: Line 14:
   * ''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'').
 
ideas/mistakes.txt · Last modified: 2023/04/10 22:39 by fantasai
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki