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

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