Re: box-sizing: Invalid Statements in Documentation
"L. David Baron" <[email protected]> Sat, 20 Mar 2010 23:36:25 -0400
| Newsgroups | gmane.comp.mozilla.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 2010-03-20 16:12 +0100, Axel Dahmen wrote: > At https://developer.mozilla.org/En/CSS/Box-sizing it says: > > "It is possible to use this property to emulate the behavior of > browsers that do not correctly support the CSS box model > specification." > > This is quite a pejorative statement and it should be corrected. > > Actually, inventing content-width as the determinate value for the > width property was a bad change in mind of the W3C. In fact, it was > the border-box layout that determined the calculation of the width > property right from the beginning in CSS1. CSS3 now just corrects a > CSS2 design flaw. That's not true. CSS1 and CSS2 are consistent in 'width' being content-box. It's just that many of the early implementations of CSS behaved differently from what CSS1 said. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/