[Webkit-unassigned] [Bug 249748] Underlines are drawn on elements within a link even when those elements have text-decoration: none
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 4 00:08:23 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=249748
--- Comment #5 from Alan Hogan <webkit-bugzilla at alanhogan.com> ---
1. Relevant Chrome bug is here: https://bugs.chromium.org/p/chromium/issues/detail?id=1403082
2. I agree `display` type does affect the bug. In my own testing right now, it seems that:
- The bug always persists no matter the `display` type as long as the element is the child of a `display: flex` link.
- When the element is the child of a non-flex link, then the only `display` value that seems to be immune to the underline bug is `inline-block` — in fact, you do not even need to remove the text-decoration from it.
3. This additional test page avoids flexbox: https://codepen.io/alanhogan/pen/RwBGVxP
4. I don’t understand how or why it would be expected behavior for underline styles to be forced on child elements of a link, when other text/font properties (such as font weight or size) can be changed at will. Is this perhaps an unintended consequence of privacy hardening?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230104/04889d3c/attachment.htm>
More information about the webkit-unassigned
mailing list