<?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>20138</bug_id>
          
          <creation_ts>2008-07-23 01:04:39 -0700</creation_ts>
          <short_desc>Safari doesn&apos;t trigger focus/blur events (on file inputs)</short_desc>
          <delta_ts>2021-05-17 02:18:34 -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>525.x (Safari 3.1)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>22261</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="Matthias Wessendorf">matzew</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>eric</cc>
    
    <cc>jberlin</cc>
    
    <cc>ostap73</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86706</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Wessendorf">matzew</who>
    <bug_when>2008-07-23 01:04:39 -0700</bug_when>
    <thetext>A simple test case:

&lt;input type=&quot;file&quot; id=&quot;test&quot; onchange=&quot;alert(&apos;change&apos;);&quot;
onfocus=&quot;alert(&apos;focus&apos;);&quot; onblur=&quot;alert(&apos;blur&apos;);&quot; name=&quot;itext&quot; &gt;&lt;/input&gt;

shows, that only change is triggered here...

in FF (and even IE) focus/blur works as on *regular* inputs (type:text).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150533</commentid>
    <comment_count>1</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2009-09-28 09:27:49 -0700</bug_when>
    <thetext>Patch submitted here: https://bugs.webkit.org/show_bug.cgi?id=22261</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1760700</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-05-17 02:18:34 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>