'first-line' and 'first-letter' in CSS2.1/CSS3

The CSS2.1/CSS3 specs are imprecise about the pseudo-elements
'first-line' and 'fist-letter'.

The CSS2.1 spec contains examples in 5.12.1, e.g.:

   <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>


The logical parent of <div:first-line> is the <div>;
the logical parent of <p:first-line> is the <p>.

The physical parent of <div:first-line> is the <p>;
the physical parent of the first <p:first-line> is the
<div:first-line>.

Frome where do the children implicitly inherit? From the logical or the 
physical parent?

Does the statement at the end of 5.12.2:

   Properties set on :first-line are inherited by :first-letter, but are
   overridden if the same property is set on :first-letter.

mean: 'A pseudo-element always inherits from its physical parent,
       not from its logical parent.'?

winfried


Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1

Received on Saturday, 21 January 2006 22:18:49 UTC