W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2010

[Bug 10517] New: 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

From: <bugzilla@jessica.w3.org>
Date: Tue, 31 Aug 2010 20:33:32 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-10517-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10517

           Summary: 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
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#the
                    -size-attribute
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


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

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 31 August 2010 20:33:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:22 UTC