<?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>19924</bug_id>
          
          <creation_ts>2008-07-07 07:25:12 -0700</creation_ts>
          <short_desc>Disabled file input element updates its displayed file info when a file is dropped from the Finder.</short_desc>
          <delta_ts>2008-07-09 09:51:41 -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>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Matt Cooper">matt11ag-webkitbugs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85333</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Cooper">matt11ag-webkitbugs</who>
    <bug_when>2008-07-07 07:25:12 -0700</bug_when>
    <thetext>Summary:
Disabled file input element updates its displayed file info when a file is dropped from the Finder.

Steps to Reproduce:
1. Make a page with an input type=&quot;file&quot; and disabled (I will attach one to this bug).
2. From the Finder, drag a file and drop it on the disabled input file element.
3. Notice that the element now displays the name of the dropped file when it shouldn&apos;t have changed at all since it is disabled.

Expected Results:
Nothing should have changed; the input file element should look the same as it did before the drag and drop.

Actual Results:
The element displays the icon and name of the dropped file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85334</commentid>
    <comment_count>1</comment_count>
      <attachid>22131</attachid>
    <who name="Matt Cooper">matt11ag-webkitbugs</who>
    <bug_when>2008-07-07 07:26:21 -0700</bug_when>
    <thetext>Created attachment 22131
Test case mentioned in original bug details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85344</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-07-07 08:29:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/6057160&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85419</commentid>
    <comment_count>3</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2008-07-07 18:14:09 -0700</bug_when>
    <thetext>Committed revision 35052.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85527</commentid>
    <comment_count>4</comment_count>
    <who name="Matt Cooper">matt11ag-webkitbugs</who>
    <bug_when>2008-07-09 09:51:41 -0700</bug_when>
    <thetext>Thank you, verified as fixed in today&apos;s WebKit nightly build (AppleWebKit/527+):
http://builds.nightly.webkit.org/files/trunk/mac/WebKit-SVN-r35067.dmg</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22131</attachid>
            <date>2008-07-07 07:26:21 -0700</date>
            <delta_ts>2008-07-07 07:26:21 -0700</delta_ts>
            <desc>Test case mentioned in original bug details.</desc>
            <filename>disabled-file-test.html</filename>
            <type>text/html</type>
            <size>818</size>
            <attacher name="Matt Cooper">matt11ag-webkitbugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+DQo8aHRtbD4KPGhl
YWQ+CiAgPHRpdGxlPkRpc2FibGVkIGZpbGUgaW5wdX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