WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 7138
20596
tabindex returns "undefined" for some elements
https://bugs.webkit.org/show_bug.cgi?id=20596
Summary
tabindex returns "undefined" for some elements
webkit
Reported
2008-09-02 02:20:20 PDT
Element.tabIndex returns "undefined" for some elements, like <div>. All other browsers returns some value for it. For non "focusable" elements (like div), tabIndex should return a negative value (-1) by default (IE returns zero). For "focusable" elements (like input), it should return zero by default I'm attaching a TC that works well with Firefox and Opera.
Attachments
TC
(552 bytes, text/html)
2008-09-02 02:21 PDT
,
webkit
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
webkit
Comment 1
2008-09-02 02:21:30 PDT
Created
attachment 23112
[details]
TC This TC works well with Firefox and Opera.
Mark Rowe (bdash)
Comment 2
2008-09-03 13:25:24 PDT
<
rdar://problem/6194013
>
Alice Liu
Comment 3
2008-09-09 10:17:43 PDT
The test case returns expected values with TOT WebKit. Perhaps the wrong test case was attached, or maybe it was tested against an old version of WebKit.
webkit
Comment 4
2008-09-10 00:55:16 PDT
For reference, this is the UA string with which I can still confirm this bug. Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 (Safari 3.1.2 Windows / 525.21)
Darin Adler
Comment 5
2009-01-12 15:24:12 PST
So this is a duplicate of a bug we fixed.
Darin Adler
Comment 6
2009-01-12 15:24:19 PST
*** 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.
Top of Page
Format For Printing
XML
Clone This Bug