<?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>124852</bug_id>
          
          <creation_ts>2013-11-25 12:18:22 -0800</creation_ts>
          <short_desc>&quot;disabled&quot; property on input type button still responds to touchstart events</short_desc>
          <delta_ts>2024-02-08 15:36:29 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>251246</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jglawrence</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>a_protyasha</cc>
    
    <cc>bfulgham</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>954059</commentid>
    <comment_count>0</comment_count>
    <who name="">jglawrence</who>
    <bug_when>2013-11-25 12:18:22 -0800</bug_when>
    <thetext>This bug shows up when using touch events in place of click events. I have specifically seen this on iOS and Android, up to 7.0.3 &amp; 4.0 respectively. When a button has the &quot;disabled&quot; property, touch events will still trigger the button&apos;s event handlers while click events will not. The desired behavior is that the event handlers are ignored as the button is disabled.

To reproduce, create an input element with type=&quot;button&quot;. Set the input to &quot;disabled&quot; with an event handler bound to it. Run this code on an iOS or Android device, click the &apos;disabled&apos; button, and you will see you event handler code run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011949</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-08 15:28:50 -0800</bug_when>
    <thetext>&lt;rdar://problem/122587323&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011961</commentid>
    <comment_count>2</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2024-02-08 15:36:29 -0800</bug_when>
    <thetext>It&apos;ll be good to verify whether or not this still happens. I&apos;ll do that soon.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>