4 ms·
Yes, it is set to `normal`. It is reasonably readable but not excessively reasonably ;) I don't think browser vendors are the right people to blame though. The
by dmitriz 10y ago
Yes, it is set to `normal`. It is reasonably readable but not excessively reasonably ;)
I don't think browser vendors are the right people to blame though. Their job is to give the designer enough control and they mostly succeed or sometimes don't (https://www.smashingmagazine.com/2012/12/css-baseline-the-good-the-bad-and-the-ugly/ https://www.smashingmagazine.com/2012/12/css-baseline-the-go...)
But you certainly cannot expect them to come up with optimal default working for every single site out there.
So setting proper line-height has to remain the site's responsibility. And something as simple as unitless 1.4-1.6 would improve readability with any "regular" font.
Given that HN isn't exactly famous for using fancy fonts, which isn't a bad thing at all. ;)
- oneeyedpigeon 10y agoI agree, but if "line-height: 1.25" (my browser's interpretation of 'normal') is 'wrong' more often than not, browser vendors should fix that.
- dmitriz 10y agoIn my browser it looks more like '1.25'. And the worst part -- I can't see it in the dev tools! It shows me 'normal' as computed value and I still don't know what it is! Apparently HN is using table layout and `line-height: normal` is set by UA on any table. This is the first time I can't overwrite it by setting it on `body`. This just breaks anything I know and only leads to frustration.