Skip to content

Comment on CSS Curiosities of the Past

Comments

The funny thing about old IE versions is that they did in fact get one thing right in retrospect; the box model used was a lot more intuitive than the one used by 'default' in standards compliant browsers. Why would border and padding be outside the main element's width? That doesn't match how anyone thinks of a box...

Either way, the end result was that everyone started using box-sizing: border-box when it was added, and now even the folks at the W3C regret the old box sizing model being used at all.

Surprised how many of these I didn't remember though. Filters, yes. Syntax hacks to trick IE into using one CSS value while compliant browsers used another, sure. But I don't think I ever came across 'HTML Components' before reading this article.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.