[webkit-dev] tabIndex
Darin Adler
darin at apple.com
Fri May 23 09:34:50 PDT 2008
On May 23, 2008, at 2:32 AM, Johan Lund wrote:
> Another question, related but regarding tabIndex. Does Safari treat
> a tabIndex of -1, 0 or 1... differently? I believe it is treated
> differently on some browsers.
>
> 1... component can be focused both by pressing tab and programatically
> 0 component can only be focused programatically
> -1 component can not be focused at all
tabIndex support is different in different versions of WebKit and
Safari.
The latest round of improvements were these:
https://bugs.webkit.org/show_bug.cgi?id=7138
http://trac.webkit.org/changeset/32664
With those changes, -1 and 0 do have special meanings, but they are
not the meanings you list here. What we're working towards is the
tabIndex behavior specified in HTML 5: <http://www.w3.org/html/wg/html5/#tabindex
>.
You'll have to ask a more-specific question if you want a more precise
answer.
-- Darin
More information about the webkit-dev
mailing list