W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Proposed ::last-line and ::last-letter selectors

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 14 Aug 2006 15:53:29 -0700
Message-ID: <003101c6bff4$75ea4290$db02000a@internal.toppro.net>
To: "David Woolley" <david@djwhome.demon.co.uk>, <www-style@w3.org>


----- Original Message ----- 
From: "David Woolley" <david@djwhome.demon.co.uk>
To: <www-style@w3.org>
Sent: Monday, August 14, 2006 2:55 PM
Subject: Re: Proposed ::last-line and ::last-letter selectors


| 
| > 
| > What if I only want to select the lines which are not the first nor
| > the last one? or the same with characters?
| > 
| > Developers must have a way to do it.
| 
| You can't use another requirement without a good use case to satisfy
| a requirement for a use case!
| 
| What is the use case for selecting all but first and last lines?
|

Hypothesis: 
p { text-align:justify; } p::last-line { text-align: left; }

Sometimes automatic justification algorithm is not good
on last lines.

But this is probably the only case I can imagine when it is
really needed.

Andrew Fedoniouk.
http://terrainformatica.com 
Received on Monday, 14 August 2006 22:54:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT