[Webkit-unassigned] [Bug 277889] New: <abbr> with title should have dotted underline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 9 16:51:47 PDT 2024


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

            Bug ID: 277889
           Summary: <abbr> with title should have dotted underline
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dev at atjn.dk
                CC: fantasai.bugs at inkedblade.net, vitor.roriz at apple.com

An <abbr> element like this:

<abbr title="Hyper Text Markup Language">HTML</abbr>

..is supposed to have a dotted underline to make it clear that you can hover over it to read the title.

This is recommended in the HTML spec:
https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3

The recommended CSS declaration is:
abbr[title], acronym[title] { text-decoration: dotted underline; }

Both Chrome and Firefox follow the spec. Safari does not follow the spec, no underline is rendered.


It would be nice if Safari could add this declaration so we can ensure a consistent user experience :)

-- 
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/20240809/b4ac7fe0/attachment.htm>


More information about the webkit-unassigned mailing list