<?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>129743</bug_id>
          
          <creation_ts>2014-03-05 09:53:52 -0800</creation_ts>
          <short_desc>&quot;autofocus&quot; attribute handling is not compatible with other browsers</short_desc>
          <delta_ts>2019-10-17 22:11:13 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>203139</dup_id>
          
          <bug_file_loc>data:text/html,&lt;input autofocus&gt; &lt;input autofocus&gt;</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>202651</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
    
    <cc>rniwa</cc>
    
    <cc>syoichi</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>987288</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-03-05 09:53:52 -0800</bug_when>
    <thetext>From &lt;https://code.google.com/p/chromium/issues/detail?id=336346&gt;:

Version: All
OS: All

What steps will reproduce the problem?
1. Open the following URL:
   data:text/html,&lt;input autofocus&gt; &lt;input autofocus&gt;

What is the expected output? What do you see instead?
Expected: According to the standard, Firefox, and IE11, the first &lt;input&gt; gets focus.
Actual: The second &lt;input&gt; gets focus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>987290</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-03-05 09:55:39 -0800</bug_when>
    <thetext>&lt;rdar://problem/16220095&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>987291</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-03-05 09:57:44 -0800</bug_when>
    <thetext>Blink merge candidate:  &lt;http://src.chromium.org/viewvc/blink?view=rev&amp;rev=165459&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1561999</commentid>
    <comment_count>3</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2019-08-16 02:56:19 -0700</bug_when>
    <thetext>The autofocus processing algorithm will be updated by https://github.com/whatwg/html/pull/4763.

Anyway, &quot;data:text/html,&lt;input autofocus&gt; &lt;input autofocus&gt;&quot; should still focus on the first &lt;input&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581305</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-10-17 22:09:39 -0700</bug_when>
    <thetext>New behavior will be implemented in https://bugs.webkit.org/show_bug.cgi?id=203139 instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581306</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-10-17 22:11:13 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 203139 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>