[Webkit-unassigned] [Bug 14834] New: Assigning programmatic focus to non-form elements does not fire focus/blur event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 12:09:03 PDT 2007


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

           Summary: Assigning programmatic focus to non-form elements does
                    not fire focus/blur event
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ben at involutionstudios.com


When javascript is used to programatically set the focus to a dom element that
is not a form element, no focus event fires. Likewise (and presumably because
no focus fires) the blur even will not fire when focus is transferred away.

This works in previous Safari/WebKit versions, and is a cornerstone of
programming controls, such as a date picker, that allow the user to navigate
DOM elements via the keyboard.

The accompanying test file can be run in 522.12 which will fail, and in
previous WebKit (Safari 2) versions, as well as FireFox, to see the desired
behavior.


-- 
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