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

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

Received on Wednesday, 12 August 2015 00:58:48 UTC