Bug 218758

Summary: Click on <a href> nested in <summary> cross browser inconsistency
Product: WebKit Reporter: Zach Leatherman <zachleatherman>
Component: UI EventsAssignee: sideshowbarker <mike>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, hi, mike, smoley, webkit-bug-importer, zcorpan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/41687
Bug Depends on:    
Bug Blocks: 252223    

Zach Leatherman
Reported 2020-11-10 09:13:50 PST
Clicking a link that’s nested inside of a summary element has an odd HTML-only inconsistency. <details> <summary><a href="https://www.zachleat.com/">Works in Safari</a></summary> </details> <details> <summary><a href="https://www.zachleat.com/"><span>Does not work in Safari</span></a></summary> </details> 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
Attachments
Simon Pieters (:zcorpan)
Comment 1 2020-11-10 10:09:38 PST
The spec issue is not the same as this issue, though related. (The spec issue is about whether interactive content in <summary> should be valid in HTML.)
Smoley
Comment 2 2020-11-10 16:07:26 PST
Thanks for filing. I can reproduce this on Safari 13.1.3 as well as 14.1 using the provided codepen.
Radar WebKit Bug Importer
Comment 3 2020-11-10 16:07:36 PST
sideshowbarker
Comment 4 2023-08-26 09:24:51 PDT
sideshowbarker
Comment 5 2023-08-29 05:28:24 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/41687
EWS
Comment 6 2023-08-31 02:28:18 PDT
Committed 267491@main (aed2f1dba4a4): <https://commits.webkit.org/267491@main> Reviewed commits have been landed. Closing PR #17106 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.