4 ms·
It was wrong, and required stupid workarounds, but it was better. I hated those old IEs as much as anybody, but I admitted even back then that IE's broken box
by freshyill 9y ago
It was wrong, and required stupid workarounds, but it was better.
I hated those old IEs as much as anybody, but I admitted even back then that IE's broken box model was much saner. We had to do stupid things with widths and percentages just to make the browsers that worked correctly work.
The fact that everybody uses box-model: border-box now is pretty much an admission that the original box model was a bad idea.
- wwweston 9y agoAgree with everything... except the idea that IE was wrong in this case. I hated Microsoft as much as anybody during the overlong era of IE6, but even back then, I had to admit that the W3C were the ones who got the box model wrong. The funny thing is that I've never heard any rationale -- much less a convincing rationale -- for the choice in the spec.
- freshyill 9y agoWell only wrong in that they weren't following the W3C box model spec. That single inconsistency was responsible for at least 50% of the extra work caused by IE.
- freshyill 9y agoEdit: I meant box-sizing.
- freshyill 9y agoEdit: I meant box-sizing.