W3C home > Mailing lists > Public > www-style@w3.org > October 2013

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 28 Oct 2013 17:51:10 -0700
Message-ID: <CAAWBYDB9tNg8ONQa-eRUYjHv3FBn9UGWLU3TcMs7Gyv8R4T3-w@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: www-style <www-style@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:34 UTC