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

Re: [CSS21] response to issue 51

From: Bert Bos <bert@w3.org>
Date: Mon, 23 Feb 2004 20:16:44 +0100
Message-ID: <16442.20892.588427.737747@lanalana.inria.fr>
To: www-style@w3.org

Boris Zbarsky writes:
> 
> >     A UA should act as if the fictional start tag of the first-line
> >     pseudo-element is just inside the smallest enclosing block-level
> >     element.
> 
> >       <DIV>
> >         <P><DIV:first-line><P:first-line>First paragraph</P:first-line></DIV:
> > first-line></P>
> >         <P><P:first-line>Second paragraph</P:first-line></P>
> >       </DIV>
> > 
> > That seems to define exactly what you want.
> 
> Not quite. Notice, for example, that the <P:first-line> tag is _not_ in fact
> "just inside the smallest enclosing block-level element".  It's inside the
> <DIV:first-line> (which _is_ just inside, etc).
> 
> So clearly the above rule doesn't apply when multiple first-line pseudo-elements
> are involved.....  Why and how does it apply when first-letter is involved?
> The spec doesn't say.
> 
> I understand that if you already know what the spec is trying to say then it's
> not too hard to figure out what these statements and examples really mean.  But
> if you _don't_ know what it's trying to say, there is enough internal
> inconsistency and lack of clarity that it's hard to tell what it's really
> saying.

Maybe the text isn't beautiful and we can see if the readability can
be improved before the spec becomes a Recommendation, but we think it
already says how multiple first-lines combine, and how first-line and
first-letter combine; how multiple first-lines and multiple
first-letters combine can be inferred. We don't want to change
anything now that isn't broken.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Monday, 23 February 2004 14:17:02 GMT

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