NEW304550
anchor tag overriding parent's text-decoration-style that overlaps with the anchor
https://bugs.webkit.org/show_bug.cgi?id=304550
Summary anchor tag overriding parent's text-decoration-style that overlaps with the a...
github
Reported 2025-12-20 10:52:54 PST
Created attachment 477805 [details] rendering of the example described in the comment When an anchor tag has a text decoration that differs from its parent in line and in style, the parent's line that crosses the anchor tag gets the decoration style as is set by the anchor tag. E.g. something like the following: <style> span { text-decoration: line-through solid; -webkit-text-decoration: line-through solid; } a { text-decoration: underline dotted; -webkit-text-decoration: underline dotted; } </style> <span>some text and <a>a link</a></span> FWIW, with Firefox and Chrome, the text-decoration-line is not affected by the line style of the anchor tag.
Attachments
rendering of the example described in the comment (21.83 KB, image/png)
2025-12-20 10:52 PST, github
no flags
Radar WebKit Bug Importer
Comment 1 2025-12-27 10:53:12 PST
Note You need to log in before you can comment on or make changes to this bug.