<?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>251246</bug_id>
          
          <creation_ts>2023-01-26 20:47:04 -0800</creation_ts>
          <short_desc>Event dispatching on disabled form controls</short_desc>
          <delta_ts>2023-12-28 13:45:53 -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>DOM</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=55942</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=258078</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=259132</see_also>
          <bug_file_loc>https://wpt.fyi/results/html/semantics/disabled-elements/disabled-event-dispatch.tentative.html?label=experimental&amp;label=master&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2023-webcompat</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>34465</blocked>
    
    <blocked>89041</blocked>
    
    <blocked>124852</blocked>
    
    <blocked>237097</blocked>
    
    <blocked>102841</blocked>
    
    <blocked>219188</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>cyb.ai.815</cc>
    
    <cc>krosylight</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1928804</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-01-26 20:47:04 -0800</bug_when>
    <thetext>Part of the Interop 2023.
There is a proposal to improve the interop of events dispatched on on disabled form controls
https://wpt.fyi/results/html/semantics/disabled-elements/disabled-event-dispatch.tentative.html?label=experimental&amp;label=master&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2023-webcompat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928805</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-26 20:47:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/104727618&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928806</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-26 20:47:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/104727624&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928811</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-01-26 21:00:18 -0800</bug_when>
    <thetext>SeeAlso https://github.com/WebKit/standards-positions/issues/78

That is a risky change for Web Compatibility. This needs to be handled carefully.
That might create breakages by changing expectations and require a Quirk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940495</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-03-10 13:15:34 -0800</bug_when>
    <thetext>Removing these 2 lines: https://searchfox.org/wubkat/source/Source/WebCore/dom/EventContext.cpp#92-94 seems to fix some of the failures</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940496</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-03-10 13:15:57 -0800</bug_when>
    <thetext>(In reply to Tim Nguyen (:ntim) from comment #4)
&gt; Removing these 2 lines:
&gt; https://searchfox.org/wubkat/source/Source/WebCore/dom/EventContext.cpp#92-
&gt; 94 seems to fix some of the failures

Permalink: https://searchfox.org/wubkat/rev/2b326434751bf80c7f34c5d5e02dc0ad619d4826/Source/WebCore/dom/EventContext.cpp#92-94</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1945528</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-03-30 16:26:08 -0700</bug_when>
    <thetext>There&apos;s also: https://searchfox.org/wubkat/rev/4c1d077ec985eb840a20e5ffb65eb2b73fb89d31/Source/WebCore/dom/Element.cpp#460</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1955140</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-05-12 17:21:04 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13837</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1955575</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-15 20:33:38 -0700</bug_when>
    <thetext>Committed 264098@main (9ed97a1ca58c): &lt;https://commits.webkit.org/264098@main&gt;

Reviewed commits have been landed. Closing PR #13837 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>