W3C home > Mailing lists > Public > www-style@w3.org > August 2015

Re: [css-ui] proposal for text-overflow: fade

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Wed, 12 Aug 2015 08:49:31 +0200
Message-ID: <CAERejNYkVJoEq0hj6r3D1Ef3oxKwdhMWef0Ga5bTd0T75AkNsw@mail.gmail.com>
To: Jonathan Watt <jwatt@jwatt.org>
Cc: www-style list <www-style@w3.org>
On 12 August 2015 at 02:59, Jonathan Watt <jwatt@jwatt.org> wrote:
> This has come up again at Mozilla recently, so I'd like to propose new
> text-overflow functionality where the text is faded out using a mask if it
> overflows.
>
> It would probably make sense to allow authors to specify a length over which
> to fade (e.g. over 2em).
>
> A simple linear gradient would probably be adequate for the mask, but it
> might be prudent to leave scope for functionality for authors to specify
> their own mask[1].
>
> Jonathan
>
> 1. https://hg.fxtf.org/drafts/raw-file/tip/css-masking-1/index.html

Note that this was discussed earlier:
https://lists.w3.org/Archives/Public/www-style/2013Oct/0050.html
https://lists.w3.org/Archives/Public/www-style/2014Jun/0166.html

I don't know the current state of the discussion, though.

Sebastian
Received on Wednesday, 12 August 2015 06:50:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 August 2015 06:50:19 UTC