WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 114304
238808
Link is showing a title tooltip even though it doesn’t have a title.
https://bugs.webkit.org/show_bug.cgi?id=238808
Summary
Link is showing a title tooltip even though it doesn’t have a title.
Oliver Williams
Reported
2022-04-05 09:10:07 PDT
Link is showing a title tooltip even though it doesn’t have a title.
https://codepen.io/cssgrid/pen/qBpxaqx
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-04-05 10:43:58 PDT
Could you please clarify which aspect of this is the bug? I see that there is a text-overflow: ellipsis on the <a> element, and a tooltip shows up when text doesn't fit. This seems like desirable behavior.
Oliver Williams
Comment 2
2022-04-05 10:48:58 PDT
I made a custom tooltip for the link (to show the full text of truncated text when the user hovers) but Safari (unlike Chrome canary) shows both my custom tooltip and the native browser title tooltip (you need to hover for a bit longer to see that one)
Oliver Williams
Comment 3
2022-04-05 11:14:35 PDT
(In reply to Alexey Proskuryakov from
comment #1
)
> Could you please clarify which aspect of this is the bug? I see that there > is a text-overflow: ellipsis on the <a> element, and a tooltip shows up when > text doesn't fit. This seems like desirable behavior.
The link doesn’t even have a title and yet is showing the browser native tooltip on hover. Surely that is a bug?
Alexey Proskuryakov
Comment 4
2022-04-05 12:56:02 PDT
> Safari (unlike Chrome canary) shows both my custom tooltip and the native browser title tooltip
I now understand what motivated the report. I initially tested with an older Safari version, where the custom tooltip didn't show up. However, I don't see any reason to agree that this is a WebKit bug, showing a tooltip for truncated text seems natural and user friendly. Nothing says that a browser cannot show tooltips for anything but title. Duping to
bug 114304
that tracks adding a way to disable this behavior. *** This bug has been marked as a duplicate of
bug 114304
***
Oliver Williams
Comment 5
2022-04-05 14:09:02 PDT
Thanks for the response. I agree that it’s useful behaviour, but native browser tooltips don’t look great. We definitely need a way to turn off this behaviour for custom tooltips.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug