W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: [css-ui] text-overflow: fade ?

From: Alan Gresley <alan@css-class.com>
Date: Fri, 04 Oct 2013 17:15:53 +1000
Message-ID: <524E6B29.6070900@css-class.com>
To: Brad Kemper <brad.kemper@gmail.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, Rik Cabanier <cabanier@gmail.com>, www-style list <www-style@w3.org>
On 4/10/2013 2:52 PM, Brad Kemper wrote:
>> On Oct 3, 2013, at 4:44 PM, "Tab Atkins Jr." <jackalmage@gmail.com>
>> wrote:
>>> On Thu, Oct 3, 2013 at 4:15 PM, Rik Cabanier <cabanier@gmail.com>
>>> wrote: This sounds like a new pseudo-class ':overflow' :-)
>> Nah, text-overflow is per-line, not per-element.
> It could be pseudo element representing the last visible em-length of
> the overflowing line. Just like 'first-letter' selects part of a line
> (well, not exactly the same, as ::overflow would not be based on
> glyph boundaries).

This can't be a pseudo element. It's simply decoration for text that is 
overflowing and when nothing is overflowing, there is no decoration. It 
the same as ellipses. For ::first-letter, you don't style when a word 
reaches 10 glyphs long and not style when the word is only 5 glyphs long.

Alan Gresley
Received on Friday, 4 October 2013 07:16:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:02 UTC