Bug 17983 - Implement tabindex for HTMLElement
Summary: Implement tabindex for HTMLElement
Status: RESOLVED DUPLICATE of bug 7138
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-03-21 10:33 PDT by Garrett Smith
Modified: 2008-03-21 11:51 PDT (History)
1 user (show)

See Also:

testcase (618 bytes, text/html)
2008-03-21 10:34 PDT, Garrett Smith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Smith 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()

FF2: {1, 2}
IE7:  {2}
Saf2:{ }

Expected result:
I expected that {1, 2} would both occur in Webkit.
Comment 1 Garrett Smith 2008-03-21 10:34:42 PDT
Created attachment 19930 [details]
Comment 2 Dave Hyatt 2008-03-21 11:21:09 PDT
This is really about tabindex needing to make an element focusable.

Comment 3 Garrett Smith 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.
Comment 4 Robert Blaut 2008-03-21 11:51:25 PDT

*** This bug has been marked as a duplicate of 7138 ***