<?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>218758</bug_id>
          
          <creation_ts>2020-11-10 09:13:50 -0800</creation_ts>
          <short_desc>Click on &lt;a href&gt; nested in &lt;summary&gt; cross browser inconsistency</short_desc>
          <delta_ts>2023-08-31 02:28:23 -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>UI Events</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/41687</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>252223</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zach Leatherman">zachleatherman</reporter>
          <assigned_to name="sideshowbarker">mike</assigned_to>
          <cc>achristensen</cc>
    
    <cc>cdumez</cc>
    
    <cc>hi</cc>
    
    <cc>mike</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zcorpan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1706100</commentid>
    <comment_count>0</comment_count>
    <who name="Zach Leatherman">zachleatherman</who>
    <bug_when>2020-11-10 09:13:50 -0800</bug_when>
    <thetext>Clicking a link that’s nested inside of a summary element has an odd HTML-only inconsistency.

&lt;details&gt;
  &lt;summary&gt;&lt;a href=&quot;https://www.zachleat.com/&quot;&gt;Works in Safari&lt;/a&gt;&lt;/summary&gt;
&lt;/details&gt;

&lt;details&gt;
  &lt;summary&gt;&lt;a href=&quot;https://www.zachleat.com/&quot;&gt;&lt;span&gt;Does not work in Safari&lt;/span&gt;&lt;/a&gt;&lt;/summary&gt;
&lt;/details&gt;

Tested in Safari 14. Both cases work in Firefox 82 and Chrome 86. All csaes tested on macOS Catalina (10.15.7)

Live demo: https://codepen.io/zachleat/pen/ZEOMKPr


As an additional disclosure some conversation about this specific issue is being had here: https://github.com/whatwg/html/issues/2272</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1706118</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2020-11-10 10:09:38 -0800</bug_when>
    <thetext>The spec issue is not the same as this issue, though related. (The spec issue is about whether interactive content in &lt;summary&gt; should be valid in HTML.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1706272</commentid>
    <comment_count>2</comment_count>
    <who name="Smoley">smoley</who>
    <bug_when>2020-11-10 16:07:26 -0800</bug_when>
    <thetext>Thanks for filing. I can reproduce this on Safari 13.1.3 as well as 14.1 using the provided codepen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1706273</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-11-10 16:07:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/71259555&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973780</commentid>
    <comment_count>4</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-08-26 09:24:51 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/17106</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1974178</commentid>
    <comment_count>5</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-08-29 05:28:24 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/41687</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1974681</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-08-31 02:28:18 -0700</bug_when>
    <thetext>Committed 267491@main (aed2f1dba4a4): &lt;https://commits.webkit.org/267491@main&gt;

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

    </bug>

</bugzilla>