This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-size-attribute Comment: The size attribute should default to 20. This is what IE8 and WebKit do; Gecko and Presto default to 0 per spec. 20 makes more sense, because all browsers render <input size=20> identically to plain <input>. Test case that alerts default input size and shows inputs next to each other with various sizes: data:text/html,<!doctype html> <script>alert( document.createElement("input").size );</script> <input> <br> <input size=20> <br> <input size=30> Posted from: 68.175.61.233
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r5539. Check-in comment: Default input.size to 20. http://html5.org/tools/web-apps-tracker?from=5538&to=5539