Bug 27545 - Implement CSS3 text-overflow <string> option
Summary: Implement CSS3 text-overflow <string> option
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://drafts.csswg.org/css-overflow...
Keywords: BrowserCompat, InRadar
: 95030 (view as bug list)
Depends on:
Reported: 2009-07-22 09:51 PDT by Jessie Berlin
Modified: 2022-07-13 10:51 PDT (History)
8 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jessie Berlin 2009-07-22 09:51:41 PDT
Right now we support text-overflow clip and ellipsis, but we don't support the string option as specified in:


and we do not currently expose it in getComputedStyle(we have it listed as unimplemented in \WebCore\css\CSSComputedStyleDeclaration.cpp)
Comment 1 Jessie Berlin 2009-07-22 12:39:34 PDT
Splitting this bug into two, one to implement the CSS3 text-overflow <string> option, and the other to expose text-overflow in getComputedStyle

Comment 2 Karl Dubost 2022-05-31 00:29:38 PDT
The new specification doesn't have anymore 

`text-overflow: <string>`

in https://drafts.csswg.org/css-overflow-3/#propdef-text-overflow
only the two values: clip and ellipsis are valid.

Only Firefox currently supports this feature. 
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1771853 for removing it from Firefox.

This can be closed.
Comment 3 Tim Nguyen (:ntim) 2022-05-31 04:00:16 PDT
It is in CSS-overflow-4: https://drafts.csswg.org/css-overflow-4/#text-overflow . Could be worth implementing?
Comment 4 Radar WebKit Bug Importer 2022-06-05 20:36:39 PDT
Comment 5 Brent Fulgham 2022-07-13 10:51:41 PDT
*** Bug 95030 has been marked as a duplicate of this bug. ***