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

[Bug 11162] select.size should either be web-compatible or make sense, take your pick

From: <bugzilla@jessica.w3.org>
Date: Thu, 28 Oct 2010 21:35:36 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PBa8G-0005XY-U4@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11162

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|This test case alerts 0 in  |select.size should either
                   |all current released        |be web-compatible or make
                   |browsers:                   |sense, take your pick
                   |data:text/html,<!doctype    |
                   |html><script>var el =       |
                   |document.createElement("sel |
                   |ect"); el.multiple = true;  |
                   |alert(el.size);</script>    |
                   |As it stands                |
            Summary|the spec says it should     |
                   |alert 1.  While we're in    |
                   |the hab                     |

--- Comment #2 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-10-28 21:35:36 UTC ---
Okay, here's the Mozilla bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=603141

So maybe it should just have a default of 0, or maybe all unsigned longs
limited to only positive values should if no other default is specified.  See
also bug 10354, which is related.  But it shouldn't have a default of 1 across
the board, that makes no sense from any perspective.

-- 
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 Thursday, 28 October 2010 21:35:39 UTC

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