W3C home > Mailing lists > Public > www-style@w3.org > February 2011

text-overflow, hidding half clipped lines

From: Joćo Eiras <joao-c-eiras@telecom.pt>
Date: Wed, 16 Feb 2011 16:59:03 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <201102161659.03757.joao-c-eiras@telecom.pt>

Hi !

Consider the following markup

data:text/html,<p style="width:100px;line-height:30px;height:75px;border:1px solid black;overflow:hidden">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

The third line is only half visilble.

I wonder is it would be feasible to extend the syntax of text-overflow to include the values "clip-line" and "ellipsis-line" (or something named better that you might suggest), which for this given case (last line being cut off), the user agent would not render that line at all ?

Thank you.
Received on Wednesday, 16 February 2011 17:00:01 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:56 UTC