Differences

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

Link to this comparison view

Both sides previous revision Previous revision
ideas:mistakes [2020/01/21 10:08]
jensimmons !important == not important. Meh. I propose we add this to the list of mistakes. — Jen
ideas:mistakes [2020/03/10 18:47] (current)
fantasai
Line 12: Line 12:
   * ''​background-size''​ with one value should duplicate its value, not default the second one to ''​auto''​. Ditto ''​translate()''​.   * ''​background-size''​ with one value should duplicate its value, not default the second one to ''​auto''​. Ditto ''​translate()''​.
   * ''​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`.
   * 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-start 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).
 
ideas/mistakes.txt · Last modified: 2020/03/10 18:47 by fantasai
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki