[Webkit-unassigned] [Bug 25577] New: in a select with the names of the months i'd like to press "9" for september

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 5 14:22:40 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25577

           Summary: in a select with the names of the months i'd like to
                    press "9" for september
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex at kempgen.de


when entering a birthday or any other day, websites sometimes present the user
with a list of the names of the months of the year (january, febuary, ...)
rather than their corresponding number (1, 2, ...).

expected behavior:
to be able to "tab through" a form like that, it would be useful, if one could
select the name of the month by typing its number (type "9" to select
"september")

actual behavior:
when typing "9" (or any other number) the selection jumps to "april" because
that month (in english) is the first in an alphabetical sorting and numbers are
considered to come before "a" in the alphabet. this might make sense in every
other context, but not when dealing with months.

real life example code (from an internal website):

<select id="user_birthday_month" name="user_birthday[month]"> 
<option selected="selected" value="1">January</option> 
<option value="2">February</option> 
<option value="3">March</option> 
<option value="4">April</option> 
<option value="5">May</option> 
<option value="6">June</option> 
<option value="7">July</option> 
<option value="8">August</option> 
<option value="9">September</option> 
<option value="10">October</option> 
<option value="11">November</option> 
<option value="12">December</option> 
</select>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list