[Bug 10666] New: textarea.cols should default to 20, and textarea.rows should default to 2. IE8 and WebKit do this; Opera defaults to 0 and Gecko defaults to -1. Of the three behaviors, IE/WebKit makes the most sense, and I'm submitting a patch to get Gecko to line up w

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10666

           Summary: textarea.cols should default to 20, and textarea.rows
                    should default to 2.  IE8 and WebKit do this; Opera
                    defaults to 0 and Gecko defaults to -1.  Of the three
                    behaviors, IE/WebKit makes the most sense, and I'm
                    submitting a patch to get Gecko to line up w
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#att
                    r-textarea-cols
        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-wg-issue-tracking@w3.org,
                    public-html@w3.org


Section: http://www.whatwg.org/specs/web-apps/current-work/#attr-textarea-cols

Comment:
textarea.cols should default to 20, and textarea.rows should default to 2. 
IE8 and WebKit do this; Opera defaults to 0 and Gecko defaults to -1.  Of the
three behaviors, IE/WebKit makes the most sense, and I'm submitting a patch to
get Gecko to line up with it.  Test case for browser behavior here:
data:text/html,<!doctype
html><script>alert(document.createElement("textarea").rows + " " +
document.createElement("textarea").cols);</script>

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, 21 September 2010 01:07:51 UTC