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

Re: [CSSOM] Remarks

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 14 May 2007 17:21:25 +0200
To: "Mike Bremford" <mike-css@bfo.co.uk>, www-style <www-style@w3.org>
Message-ID: <op.tsboxzk364w2qv@annevk.oslo.opera.com>

On Sun, 13 May 2007 09:40:07 +0200, Mike Bremford <mike-css@bfo.co.uk>  
wrote:
>> Hmm, what about pseudo-classes taking arguments? Attribute selectors?
>> Namespace prefixes?
>> ]]
>> :befoRe --> ::befoRe
>
> Well spotted... except the canonical form of :befoRe is actually  
> ::before. Before and After can be specified with one colon for  
> compatibility with CSS 2.1, although the canonical form is with two  
> colons. They're the only two from memory.

:first-letter and :first-line too. Indeed, the example was meant to  
illustrate that single colons become double for those rare pseudo elements.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 14 May 2007 15:21:45 GMT

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