Bug 304119

Summary: Safari Desktop: Editing an empty <a> makes content leak outside the <a>
Product: WebKit Reporter: michael
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 26   
Hardware: Mac (Apple Silicon)   
OS: macOS 26   
See Also: https://bugs.webkit.org/show_bug.cgi?id=304120

michael
Reported 2025-12-13 07:12:12 PST
When you change the a to a div, it works as expected. Repro: https://w3c.github.io/editing/repros/497.html Context: https://github.com/w3c/editing/issues/497 W3C Editing Call 2025-12-11: > 08:12 need to file bugs
Attachments
michael
Comment 1 2025-12-13 07:17:24 PST
Radar WebKit Bug Importer
Comment 2 2025-12-20 07:13:09 PST
Note You need to log in before you can comment on or make changes to this bug.