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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 3 Oct 2013 11:16:25 -0700
Message-ID: <CAAWBYDD3qOhwn_EzFmLh1wmObvynK8MHNNdtJxnBQeav8gkY8Q@mail.gmail.com>
To: Fran├žois REMY <francois.remy.dev@outlook.com>
Cc: www-style list <www-style@w3.org>
On Thu, Oct 3, 2013 at 4:24 AM, Fran├žois REMY
<francois.remy.dev@outlook.com> wrote:
> That looks interesting but that would require drawing chars with varying
> transparency level (ie with a texture), right?
> Isn't that costly?

No, it's just a transparency mask.  You apply it after drawing the
text, before putting the pixels on the screen.

> Also, text-overflow sadly does not apply to the kind of overflow you speak
> about, it only apply to "region-break"-style overflow but not
> "word-too-long-for-the-line"-style overflows, so that could need a few
> tweaks.


Received on Thursday, 3 October 2013 18:17:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:35 UTC