Re: Displaying an ellipsis on the last visible line of a block that overflows vertically

On Mon, Oct 28, 2013 at 5:47 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Tue, Oct 29, 2013 at 6:18 AM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>>
>> This is closely related (nearly identical, actually) to the proposals
>> for block-overflow.  We should merge them.
>>
>> Some value/keyword causes an inline ellipsis/string to be generated at
>> the end of the last line.  Another one causes the last line to be
>> replaced by the ellipsis/string.  Both (+ plain text-overflow) are
>> exposed via an ::overflow or ::ellipsis or whatever pseudo-element
>> which can be styled in a limited fashion.
>
>
> OK. I suggest adding a "replace-line" optional keyword to
> text-overflow/text-overflow-last which replaces the entire line with the
> ellipsis if an ellipsis is going to be displayed.
>
> I'm not all that excited about implementing a psuedo-element though.

The "replace-line" thing is meant for things like "More..." displayed
at the end of an article.  Those need styling.

~TJ

Received on Tuesday, 29 October 2013 00:51:58 UTC