[whatwg] Negative tabindex

According to:
http://www.whatwg.org/specs/web-apps/current-work/#negative-tabindex
"
A negative integer specifies that the element should be removed from
the tab order. If the element does normally take focus, it may still
be focused using other means (e.g. it could be focused by a click).
"

That appears not to be true in IE7, see:
<div tabindex="-1" onfocus="alert('div')">click me</div>
This triggers the alert in IE7.

So it seems to me the " If the element does normally take focus,"
should be removed.

Regards,
Martijn


--
Martijn Wargers
Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://www.mozilla.org/contribute/

Received on Thursday, 12 April 2007 13:04:58 UTC