[Webkit-unassigned] [Bug 196194] Make it possible to draw the underline behind text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 12 19:48:13 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=196194

Šime Vidas <sime.vidas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sime.vidas at gmail.com

--- Comment #3 from Šime Vidas <sime.vidas at gmail.com> ---
According to the CSS Text Decoration specification [1], text underlines should be drawn under (beneath) the text.

Test page: https://output.jsbin.com/yusuzed/quiet

In Chrome and Firefox, the text underline is drawn under the text, and the text’s descenders are fully visible. In Safari, the text underline is drawn over the text, and the descenders are completely covered by the underline and thus not visible.

Since the spec and other browsers agree on this, I suggest implementing this behavior in Safari as well.

[1]: https://drafts.csswg.org/css-text-decor-4/#painting

-- 
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/20211213/26d3e5ff/attachment.htm>


More information about the webkit-unassigned mailing list