RESOLVED DUPLICATE of bug 7138 17983
Implement tabindex for HTMLElement
https://bugs.webkit.org/show_bug.cgi?id=17983
Summary Implement tabindex for HTMLElement
Garrett Smith
Reported 2008-03-21 10:33:48 PDT
calling focus on a div does not cause it to appear to recieve focus, by either of these critera: 1) receive :focus styles 2) fire onfocus() Results: FF2: {1, 2} IE7: {2} Saf2:{ } Expected result: I expected that {1, 2} would both occur in Webkit.
Attachments
testcase (618 bytes, text/html)
2008-03-21 10:34 PDT, Garrett Smith
no flags
Garrett Smith
Comment 1 2008-03-21 10:34:42 PDT
Created attachment 19930 [details] testcase
Dave Hyatt
Comment 2 2008-03-21 11:21:09 PDT
This is really about tabindex needing to make an element focusable.
Garrett Smith
Comment 3 2008-03-21 11:28:29 PDT
Tabindex does not work on arbitrary elements. Tabindex enables any element to receive focus in IE5+ or FF (1.5+?). The tabindex attribute should make an element focusable.
Robert Blaut
Comment 4 2008-03-21 11:51:25 PDT
*** This bug has been marked as a duplicate of 7138 ***
Note You need to log in before you can comment on or make changes to this bug.