[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

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