<?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>55942</bug_id>
          
          <creation_ts>2011-03-08 07:28:48 -0800</creation_ts>
          <short_desc>blur fired on disabled inputs</short_desc>
          <delta_ts>2024-02-08 15:44:35 -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>525.x (Safari 3.2)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=251246</see_also>
          <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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nicolae Racovita">nik</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>karlcow</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>363958</commentid>
    <comment_count>0</comment_count>
      <attachid>85048</attachid>
    <who name="Nicolae Racovita">nik</who>
    <bug_when>2011-03-08 07:28:48 -0800</bug_when>
    <thetext>Created attachment 85048
html page to show the issue

What steps will reproduce the problem?
1. create an input type text, add an &quot;onblur&quot; event. 
2. set the focus to this input
3. add attribute disabled to it
4. move the focus to another input

What is the expected result?
the &quot;onblur&quot; function should not be called

What happens instead?
the &quot;onblur&quot; is called.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416131</commentid>
    <comment_count>1</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-06 17:03:35 -0700</bug_when>
    <thetext>This WebKit behavior looks consistent and reasonable.

Does any standard say we should not fire a blur event for a disabled element?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416133</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-06 17:04:03 -0700</bug_when>
    <thetext>http://code.google.com/p/chromium/issues/detail?id=74968</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011977</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-08 15:44:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/122588363&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>85048</attachid>
            <date>2011-03-08 07:28:48 -0800</date>
            <delta_ts>2011-03-08 07:28:48 -0800</delta_ts>
            <desc>html page to show the issue</desc>
            <filename>testDisabled.htm</filename>
            <type>text/html</type>
            <size>764</size>
            <attacher name="Nicolae Racovita">nik</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlv
bmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRp
b25hbC5kdGQiPg0KPGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPg0K
PGhlYWQ+DQogICAgPHRpdGxlPnRlc3QgZGlzYWJsZWQgYW5kIGJsdXI8L3RpdGxlPg0KCQ0KDQoN
CjxzY3JpcHQ+DQpmdW5jdGlvbiAkKGlkKXsNCglyZXR1cm4gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5
SWQoaWQpOw0KfQ0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