Comment

Comment by CM30

There are definitely some good examples here. The fact that this:

> Animate to Auto

Still isn't possible with vanilla CSS in 2022 just boggles the mind, especially given jQuery managed to get it working decades earlier.

Similarly, why can't we have different visible and scroll/auto values for overflow? Like, this feels like the weirdest limitation to be stuck with decades later:

> The computed values of ‘overflow-x’ and ‘overflow-y’ are the same as their specified values, except that some combinations with ‘visible’ are not possible: if one is specified as ‘visible’ and the other is ‘scroll’ or ‘auto’, then ‘visible’ is set to ‘auto’. The computed value of ‘overflow’ is equal to the computed value of ‘overflow-x’ if ‘overflow-y’ is the same; otherwise it is the pair of computed values of ‘overflow-x’ and ‘overflow-y’.

Such utterly bizarre design choices that don't take designer/developer expectations into account at all.

parent CM30 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton