[Webkit-unassigned] [Bug 45843] New: can not prevent tab keys from performing their default action

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 15 15:38:15 PDT 2010


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

           Summary: can not prevent tab keys from performing their default
                    action
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://redfish.net/tab_bug/tab_bug.html
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jason at redfish.net


usually when i register a keyup handler using jQuery, i can prevent the browser taking its normal action by calling preventDefault() on the incoming event.

however this doesn't seem to work with the tab key. the code behind the enclosed URL registers a keyup handler and also focus and blur handlers for all input tags. with the focus in the page, pressing tab should cause the keyup handler to fire first, then the input field should get focus *only* if i *don't* call preventDefault() on the event.

however, in today's WebKit nightly (and FF, btw) the focus event handler fires first, then the keyup handler. IMHO, this isn't right.

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



More information about the webkit-unassigned mailing list