<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>17983</bug_id>
          
          <creation_ts>2008-03-21 10:33:48 -0700</creation_ts>
          <short_desc>Implement tabindex for HTMLElement</short_desc>
          <delta_ts>2008-03-21 11:51:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7138</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Garrett Smith">xk1t</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74650</commentid>
    <comment_count>0</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-03-21 10:33:48 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74651</commentid>
    <comment_count>1</comment_count>
      <attachid>19930</attachid>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-03-21 10:34:42 -0700</bug_when>
    <thetext>Created attachment 19930
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74659</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-03-21 11:21:09 -0700</bug_when>
    <thetext>This is really about tabindex needing to make an element focusable.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74663</commentid>
    <comment_count>3</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-03-21 11:28:29 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74670</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-03-21 11:51:25 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 7138 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>19930</attachid>
            <date>2008-03-21 10:34:42 -0700</date>
            <delta_ts>2008-03-21 10:34:42 -0700</delta_ts>
            <desc>testcase </desc>
            <filename>focusDiv.html</filename>
            <type>text/html</type>
            <size>618</size>
            <attacher name="Garrett Smith">xk1t</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8aGVhZD4NCjxzY3JpcHQ+DQpmdW5jdGlvbiBmb2N1c0Rpdigpew0KCXZhciBhZGl2
ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2FkaXYnKTsNCglhZGl2LmZvY3VzKCk7DQogICAg
c2V0VGltZW91dCggZnVuY3Rpb24oKSB7DQogICAgCWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdy
ZXN1bHQnKS5pbm5lckhUTUwgPSAiYWRpdiBnb3QgZm9jdXM6ICIgKyBnb3RGb2N1czsNCiAgICB9
LCAxKTsNCg0KfQ0KDQp2YXIgZ290Rm9jdXMgPSBmYWxzZTsNCg0Kb251bmxvYWQgPSBmdW5jdGlv
bigpIHsgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2FkaXYnKS5ibHVyKCk7IH07DQoNCjwvc2Ny
aXB0Pg0KPHN0eWxlPg0KKjpmb2N1cyB7YmFja2dyb3VuZDogI0ZGOTlDQ308L3N0eWxlPg0KPC9o
ZWFkPg0KPGJvZHk+DQo8ZGl2IGlkPWFkaXYgdGFiaW5kZXg9MCBvbmZvY3VzPSdnb3RGb2N1cz10
cnVlJz5hIGRpdiB3aXRoIGEgdGFiaW5kZXg8L2Rpdj4NCjxocj4NCjxicj48YnI+PGJyPjxicj4N
CjxidXR0b24gb25jbGljaz0nc2V0VGltZW91dCggZm9jdXNEaXYsIDEpJz5mb2N1cyB0aGUgZGl2
PC9idXR0b24+DQo8aDMgaWQ9cmVzdWx0PjwvaDM+DQo8L2JvZHk+DQo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>