[webkit-changes] [WebKit/WebKit] d3b4d2: Safari no longer shows tooltips on truncated text ...
Alan Baradlay
noreply at github.com
Sun Dec 11 11:02:15 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d3b4d2ef6b3ca06ccf020d398626fe4afa93d21e
https://github.com/WebKit/WebKit/commit/d3b4d2ef6b3ca06ccf020d398626fe4afa93d21e
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-11 (Sun, 11 Dec 2022)
Changed paths:
A LayoutTests/fast/text/tooltip-on-text-overflow-ellipsis-expected.txt
A LayoutTests/fast/text/tooltip-on-text-overflow-ellipsis.html
M Source/WebCore/rendering/HitTestResult.cpp
M Source/WebCore/rendering/HitTestResult.h
M Source/WebCore/testing/Internals.cpp
Log Message:
-----------
Safari no longer shows tooltips on truncated text with ellipsis ("...")
https://bugs.webkit.org/show_bug.cgi?id=249097
<rdar://102324197>
Reviewed by Antti Koivisto.
HitTestResult::innerTextIfTruncated should use modern inline iterator interface.
* LayoutTests/fast/text/tooltip-on-text-overflow-ellipsis-expected.txt: Added.
* LayoutTests/fast/text/tooltip-on-text-overflow-ellipsis.html: Added.
* Source/WebCore/rendering/HitTestResult.cpp:
(WebCore::HitTestResult::innerTextIfTruncated const):
* Source/WebCore/rendering/HitTestResult.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::toolTipFromElement const): truncated text content shows up as tooltip too.
Canonical link: https://commits.webkit.org/257703@main
More information about the webkit-changes
mailing list