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

On 12 August 2015 at 02:59, Jonathan Watt <> 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.

Note that this was discussed earlier:

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


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