W3C home > Mailing lists > Public > www-style@w3.org > July 2005

Re: CSS is doomed (10 years per version ?!?)

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 03 Jul 2005 10:49:30 +0200
Message-ID: <42C7A69A.2050907@annevankesteren.nl>
To: Orion Adrian <orion.adrian@gmail.com>
CC: www-style@w3.org

Orion Adrian wrote:
>>Isn't :before deprecated in this way for ::before? Not a big change,
>>but a change nonetheless.

However, it is done in a way that new pseudo-elements may only use the 
double colon syntax (and may only be recognized as valid in such) and 
the pseudo-elements that already existed (in CSS 2.1) can be used both ways.

So although there was a syntax improvement, which now all major UAs that 
do pseudo-elements support, backwards compatibility was not broken and 
so versioning wasn't needed.

> The change you're talking about was the separation of pseudo-elements
> (:) and peudo-classes (::). Though I could be mixing the syntaxes up.

It is the other way around. Pseudo-elements are denoted with a double colon.

  Anne van Kesteren
Received on Sunday, 3 July 2005 08:49:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:19 UTC