[Bug 12288] New: select.size should be limited to non-negative numbers instead of non-negative numbers greater than zero

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

           Summary: select.size should be limited to non-negative numbers
                    instead of non-negative numbers greater than zero
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, Olli.Pettay@gmail.com


Gecko has select.size limited to non-negative numbers greater than zero since
nearly 10 months now but we recently got three bug reports that let us think
this change wasn't web compatible.

Currently, select.size works this way for other vendors:
- no limitation: Firefox 3.6, Chrome 11, Opera 11 and Webkit trunk ;
- limited to non-negative numbers: IE6 and IE9 (I assume 7 and 8 too) ;
- limited to non-negative numbers greater than zero: Firefox 4.

Given that the current specs state isn't web compatible and IE6/9 have
select.size limited to non-negative numbers, we can probably have select.size
limited to non-negative numbers instead of non-negative numbers greater than
zero.

For information. the tree Gecko bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=639175 (issue with Yahoo Answers)
https://bugzilla.mozilla.org/show_bug.cgi?id=640636 (issue with jQuery)
https://bugzilla.mozilla.org/show_bug.cgi?id=640800 (no website involved)

It goes without saying that these three bugs were involving select.size=0.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 11 March 2011 15:18:14 UTC