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

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

From: Andrés <adelfino@gmail.com>
Date: Tue, 15 Aug 2006 08:57:19 -0300
Message-ID: <4d90013f0608150457k3cf1ff9en7528ab79b37a2463@mail.gmail.com>
To: www-style@w3.org
What if I want to select every (line|character) except the first one
and the last one?

On 8/15/06, Mike Bremford <mike-css@bfo.co.uk> wrote:
>
> The CSS3-text proposal adds the "text-align-last" attribute to
> justify the last line of text in a paragraph. This is useful if your
> text is being split into columns and you don't want the last line
> left-aligned - which, regardless of what you want, is the normal
> practice as Boris and others have said. See http://www.w3.org/TR/css3-
> text/#text-align-last
>
> Except for this case, I can't think of any reason why the last line
> of a paragraph would ever be handled differently simply because it's
> the last line, and therefore no reason why this rule would ever be used.
>
> Cheers... Mike
>
>
>
> On 15 Aug 2006, at 01:26, Andrés wrote:
>
> > It is a logical behavior. I want THIS to be done in THIS way. Don't
> > try to think what is right for me. I'll do it the right way for me.
> >
> > On 8/14/06, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> >> Andrés wrote:
> >> > justify is justify, not left. I want all lines justified, *all*,
> >> which I
> >> > select.
> >>
> >> But this is not a useful behavior.  I suggest looking at a
> >> newspaper or book
> >> sometime -- that's how "justify" should behave.
> >>
> >> Speaking of which, perhaps the CSS2.1 spec should explicitly say
> >> something to
> >> this effect.  It seems to assume people understand what is meant
> >> by "justify",
> >> and we now have evidence that this is not the case.
> >>
> >> -Boris
> >>
> >>
> >
> >
> > --
> > Andrés Delfino
>
>
>


-- 
Andrés Delfino
Received on Tuesday, 15 August 2006 11:57:34 GMT

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