You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ideas/mistakes/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ That should be corrected if anyone invents a time machine. :P
31
31
-`rgba()` and `hsla()` should not exist, `rgb()` and `hsl()` should have gotten an optional fourth parameter instead (and the alpha value should have used the same format as R, G, and B or S and L).
32
32
- Descendant combinator should have been `>>` and indirect sibling combinator should have been `++`, so there's some logical relationships among the selectors' ascii art
33
33
- The `*-blend-mode` properties should've just been `*-blend`
34
-
- The syntax of unicode ranges should have consistent with the rest of CSS, like `u0001-u00c8`.
34
+
- The syntax of unicode ranges should have been consistent with the rest of CSS, like `u0001-u00c8`.
35
35
- Unicode ranges should not have had a separate microsyntax with their own tokenization or token handling. The tokenization hacks required either to make selectors (e.g., u+a) handle things that are unicode-range tokens, or make unicode-range handle the other huge range of tokens (numbers and dimensions with and without scientific notation, identifiers, +) are both horrible.
36
36
-`font-family` should have required the font name to be quoted (like all other values that come from "outside" CSS). The rules for handling unquoted font names make parsing `font` stupid, as it requires a `font-size` value for disambiguation.
37
37
- Flexbox should have been less crazy about `flex-basis` vs `width`/`height`. Perhaps: if `width`/`height` is `auto`, use `flex-basis`; otherwise, stick with `width`/`height` as an inflexible size. (This also makes min/max width/height behavior fall out of the generic definition.)
0 commit comments