4 ms·
Seems one of these things hits the front page every month or so. My question is, why don't the browser makers adopt something like this as the default styleshe
by s17n 6y ago
Seems one of these things hits the front page every month or so. My question is, why don't the browser makers adopt something like this as the default stylesheet? Are they constrained by the spec here or is it just a matter of inertia?
- _bxg1 6y agoI think it's a backwards-compatibility thing. Browsers take BC extremely seriously, even when it comes to UX. Changing the unstyled look of different elements could break a legacy site that didn't give those its own styles.
- ZeroGravitas 6y agoThe defaults inherit, so changes to the default made by a browser (or indeed a browser user) can cascade through to other sites. Probably part of this CSS is something like reboot or reset which will try to paper over the remaining differences between different browsers, I think the browsers probably are converging in that regard but IE11 and backwards compatibility still make them necessary.
- ketozhang 6y agoBrowsers do, it's the reading mode feature. However of course it's not a default stylesheet.
- awb 6y ago> Seems one of these things hits the front page every month or so. Yep! MVP.css was featured in March: https://news.ycombinator.com/item?id=22681270 https://news.ycombinator.com/item?id=22681270
- TheGoodBarn 6y agoTo continue the chain, we had 98.css last month, although a little more niche: https://news.ycombinator.com/item?id=22940564 https://news.ycombinator.com/item?id=22940564