text-overflow, hidding half clipped lines

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