W3C home > Mailing lists > Public > www-style@w3.org > October 2007

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 22 Oct 2007 16:13:31 +0200
To: Ludger Bünger <ludger.buenger@realobjects.com>
Cc: www-style@w3.org
Message-ID: <rnbph354918irj1vd68up8f43b5vk99em8@hive.bjoern.hoehrmann.de>

* Ludger Bünger wrote:
>http://www.w3.org/TR/2001/WD-css3-selectors-20010126/#pseudo-elements 
>states:

Note that this is an old version, http://www.w3.org/TR/css3-selectors
has the same text though.

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

This issue comes up every now and then, this supposedly refers to

  p::before       { ... }
  p::first-letter { ... }

rather than p::before::first-letter. We should probably revise the
text to avoid this confusion.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 22 October 2007 14:13:47 GMT

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