This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html Multipage: http://www.whatwg.org/C#form-controls Complete: http://www.whatwg.org/c#form-controls Comment: Many inputs need to have border-box sizing in standards mode Posted from: 173.48.30.113 by bzbarsky@mit.edu User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:18.0) Gecko/18.0 Firefox/18.0
For example, Gecko applies "box-sizing: border-box" to the following form controls in standards mode: select, input[type="radio"], input[type="checkbox"], button, input[type="reset"], input[type="button"], input[type="submit"] I'mm 99% certain it's required for web compat on the buttons. I'm 50+% certain it's required for web compat on the other ones.
bz: And in quirks mode it applies to all input elements, right? Regardless of type?
Checked in as WHATWG revision r7526. Check-in comment: controls with box-sizing: border-box in standards mode http://html5.org/tools/web-apps-tracker?from=7525&to=7526
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1923 http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1924 It seems that type=image should not have border-box in quirks mode.
In quirks mode, Gecko has: 228 input:not([type=image]), textarea { 229 -moz-box-sizing: border-box; 230 }
Checked in as WHATWG revision r7700. Check-in comment: Match reality. http://html5.org/tools/web-apps-tracker?from=7699&to=7700