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
Next revisionBoth sides next revision
ideas:mistakes [2018/10/08 13:53] fantasaiideas:mistakes [2019/04/17 15:50] fantasai
Line 15: Line 15:
   * ''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'').
-  * The top and bottom margins of a box should never have been allowed to collapse together automatically as this is the **root of all margin-collapsing evil**.+  * The top and bottom margins of a single box should never have been allowed to collapse together automatically as this is the **root of all margin-collapsing evil**.
   * Partial collapsing of margins instead of weird rules to handle min/max-heights?   * Partial collapsing of margins instead of weird rules to handle min/max-heights?
-  * Tables (and other non-blocks, e.g. flex containers) should form pseudo-stacking contexts. +  * Tables (like other non-blocks, e.g. flex containers) should form pseudo-stacking contexts. 
-  * The ''currentcolor'' keyword should have a dash, ''current-color''.+  * The ''currentcolor'' keyword should have a dash, ''current-color''. Likewise all other color multi-word keyword names.
   * There should have been a predictable color naming system instead of arbitrary X11 names.   * There should have been a predictable color naming system instead of arbitrary X11 names.
   * ''border-radius'' should have been ''corner-radius''.   * ''border-radius'' should have been ''corner-radius''.
Line 47: Line 47:
   * comments shouldn't have been allowed basically everywhere in CSS (compare to HTML, which basically only allows them where content goes), because it makes them basically unrepresentable in the object model, which in turn makes building editing directly on top of the object model impossible   * comments shouldn't have been allowed basically everywhere in CSS (compare to HTML, which basically only allows them where content goes), because it makes them basically unrepresentable in the object model, which in turn makes building editing directly on top of the object model impossible
   * The alignment properties in Flexbox should have been writing-mode relative, not flex-flow relative, and thus could have reasonably understandable names like align-inline-* and align-block-*.   * The alignment properties in Flexbox should have been writing-mode relative, not flex-flow relative, and thus could have reasonably understandable names like align-inline-* and align-block-*.
 +  * shape-outside should have had wrap- in the name somehow, as people assume the shape should also clip the content as in clip-path.
 
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