Incomplete List of Mistakes in the Design of CSS [CSS Working Group Wiki]

https://wiki.csswg.org/ideas/mistakes

25 points · 4 comments · view on lemmy.world

4 Comments

BleakBluets@lemmy.world · 5 pts · 1y

It shouldn't be !important — that reads to engineers as “not important”. We should have picked another way to write this.

Maybe @important. Alternatively @specificity(0, 0, 0) with custom values. And allow it to be applied to both rules and selectors. That would have been cool.

I know it's bad practice to use !important anyway, but a quick way to customize specificity inline is useful for testing.

Rokin@lemm.ee · 1 pts · 1y

Table layout should be sane.

Hear, hear.

barrett9h@lemmy.zip · 0 pts · 1y (1 reply)

maybe a reboot is in order, and CSS4 could ditch backwards compatibility?

Rokin@lemm.ee · 1 pts · 1y

That would break the internet.