You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@matt3224, that’s a fair question. I dropped the inheritance strategy for 2 reasons.
The CSSWG has determined that box-sizing should be border-box by default. However, to keep the web backwards compatible, specs and browsers will continue shipping content-box as the default. Therefore, making border-box the default in sanitize.css is more “standards facing” than the inheritance strategy.
The individual “responsible” for the inheritance strategy now agrees with the CSSWG. I know because I am that person.
My motivation for the inheritance strategy was to “make it easier to change the box-sizing in plugins or other components that leverage other behavior.” That was only a good interim strategy while browsers like Internet Explorer 5-6 did not support border-box, and browsers like Firefox 3-22 required a moz prefix.
Hey,
I see way back in v6 the border-box rule was changed from inherit from html to being explicitly defined, why was this decision made out of interest?
Thanks
The text was updated successfully, but these errors were encountered: