CSS3-selectors: Pseudo Elements only once or multiple times per selector?

http://www.w3.org/TR/2001/WD-css3-selectors-20010126/#pseudo-elements 
states:

"Pseudo-elements may only appear once in the sequence of simple 
selectors that represents the subjects of the selector."

Does this mean, pseudo-elements may appear only once per selector and it 
is not possible to combine pseudo-elements, right?

This seems to be the case because the grammar in 
http://www.w3.org/TR/2001/WD-css3-selectors-20010126/#w3cselgrammar 
allows only one pseudo element per selector:

selector
  /* there is at least one sequence of simple selectors in a */
  /* selector and the pseudo-elements occur only in the last */
  /* sequence ; only pseudo-element may occur */
  : [ simple_selector_sequence combinator ]* 
       simple_selector_sequence [ pseudo_element ]?
  ;


The reason I ask is because 
http://www.w3.org/TR/2001/WD-css3-selectors-20010126/#gen-content then 
contradicts to the above said:

"When the ::first-letter and ::first-line pseudo-elements are combined 
with ::before and ::after, they apply to the first letter or line of the 
element including the inserted text."

Where is the mistake?

Best regards,

Ludger Bünger

Received on Monday, 22 October 2007 13:55:59 UTC