[Webkit-unassigned] [Bug 13020] New: Returning false from onkeypress event on Input is ignored when key is Tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 8 23:06:46 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=13020

           Summary: Returning false from onkeypress event on Input is
                    ignored when key is Tab
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://enfinitystudios.thaposse.net/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: esprehn at gmail.com


An onkeypress event handler for an input element which returns false to abort
the key press will be ignored when the key that was pressed was Tab. The return
value of false is obeyed when the key is not the Tab key.

However, If the onkeydown event is used instead the return value of false will
be obeyed for Tab.

This new behavior is consistent with IE, however it is inconsistent with Gecko
and previous versions of Safari.

Reproducible in latest nightly: (Fri Mar 9 6:30:40 GMT 2007)


-- 
Configure bugmail: http://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