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

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

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Tue, 15 Aug 2006 16:04:18 +0200
Message-Id: <2A930DF5-27E2-483B-96B0-FF3926FB7554@crissov.de>
To: www-style@w3.org

*Philip TAYLOR*:
> 111111111111111111111111111
>      2222222222222222222222222222
>      3333333333333333333333333333
>      4444444444444444444444444444
>           5555555555555555555555555555
> This is used (for example) in typesetting
> very long chapter headings, and for typesetting
> very long entries in Tables of Contents and
> in Indices.

I wanted to write this would rather be an argument for a counterpart  
of |text-indent| (|text-outdent|?), but that is the case only if the  
desired layout was (assuming "text-align: justify", and left-to-right  
text obviously):


Most use cases I can think of can alternatively be done with  
|::after| or another element, depending whether EOT markers etc. are  
considered style or content.

Following the symmetry / consistency argument, we would probably have  
to introduce |::nth-line()| and |::nth-letter()|, too. Do we really  
want to go down that road? How about |::letter()| then, which would  
take a one character string as an argument? Or rather |::regexp()|?  
Let's wait for CSS 4 or 5 with stuff like that, please.
Received on Tuesday, 15 August 2006 14:04:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:25 UTC