[Webkit-unassigned] [Bug 25080] New: Elements with tabIndex set to "-1" not focused onMouseDown
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 7 11:40:10 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25080
Summary: Elements with tabIndex set to "-1" not focused
onMouseDown
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://public.yahoo.com/~kloots/focusability-test.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kloots at yahoo-inc.com
While testing some code in Safari 3.2.1 last night, I noticed that if I set the
"tabIndex" attribute of an element to a value of "-1" it is correctly removed
from the tab flow, but is no longer focusable with the mouse. This behavior
didn't seem right, so I created a simple test page
(http://public.yahoo.com/~kloots/focusability-test.html) and tested it in IE 6,
7 and 8, Firefox 3, and Opera 9.6. In all of these browsers elements with a
"tabIndex" of "-1" are focused in response to onMouseDown. So, it seems like
Webkit needs to fix this. To verify I tested not only in Safari 3.2.1, but in
the latest nightly (Webkit Build 530.6). To be clear, the expected behavior is
that elements with a "tabIndex" attribute set to a value of "-1" are removed
from the tab flow (cannot be tabbed to via the tab key), but are still
focusable programmatically (via the focus method) and when the user mouses down
on the control.
--
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