Summary: | Provide a way to prevent tooltip containing the full text over truncated text | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniel Trebbien <dtrebbien> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED --- | ||
Severity: | Critical | CC: | bugged.dev, dtrebbien, mitz, oliverwilliams345, philip, simon.fraser, woodlxf00 |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=66178 |
Description
Daniel Trebbien
2013-04-09 13:21:19 PDT
If the setting is on by default then that’s a bug. The following command: defaults read /Applications/Safari.app/Contents/Resources/Defaults.plist WebKitShowsToolTipOverTruncatedText shows that the default is TRUE (Safari 6.0.3, Mac OS 10.7.5). I found that changing the value of the WebKitShowsToolTipOverTruncatedText key to FALSE does not disable the tooltip. Instead, if I change the value of the com.apple.Safari.ContentPageGroupIdentifier.WebKit2ShowsToolTipOverTruncatedText key from TRUE (the default) to FALSE, then the native tooltip is disabled. (In reply to comment #2) > The following command: > > defaults read /Applications/Safari.app/Contents/Resources/Defaults.plist WebKitShowsToolTipOverTruncatedText > > shows that the default is TRUE (Safari 6.0.3, Mac OS 10.7.5). I see. These are Safari defaults, not WebKit’s. WebKit defaults (in both WebKit1 and WebKit2) to having this feature turned off. Just to clarify, by “JavaScript tooltip”, do you mean a DOM element styled to look like a tooltip or a native tooltip somehow triggered by JavaScript (how?)? (In reply to comment #5) > Just to clarify, by “JavaScript tooltip”, do you mean a DOM element styled to look like a tooltip or a native tooltip somehow triggered by JavaScript (how?)? I mean a DOM element styled to look like a tooltip. I experienced this problem as well and sent a note to the www-style list to clarify the desired result in the spec. As far as I can tell, Webkit nightly and Safari 6 are the only browsers that show a tooltip for `overflow:ellipsis`. Anthony Ticknor put together this test case for me, perhaps it will be helpful: http://jsfiddle.net/apticknor/kc444/ On 2013-04-09 this was confirmed as a bug by mitz@webkit.org Will this be getting fixed? It looks like it may have slipped through the cracks. *** Bug 238808 has been marked as a duplicate of this bug. *** |