W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [selectors4] Should the reference combinator really be a combinator?

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Mon, 26 Mar 2012 16:40:37 +0200
Message-Id: <9655752D-C3B4-4693-82AA-AF48EA27D5A8@crissov.de>
Cc: "www-style@w3.org CSS" <www-style@w3.org>
Tab Atkins Jr.:
> On Mar 12, 2012 5:13 PM, "Christoph Päper" <christoph.paeper@crissov.de> wrote:
>> 
>>  Maybe pseudo-attributes are more useful than pseudo-classes (…) here.
>> 
> That seems exactly the same as the pseudo class approach, except with a more limited syntax for selecting columns by selector.

Since classes are attribute values and pseudo-classes are CSS-based classes, pseudo-classes naturally should be a subset of pseudo-attributes.

The only reason – and it’s a good one – not to introduce pseudo-attributes for everything pseudo-classes can do is that ths would be unnecessary reduplication, unless there would be usecases demonstrating that sometimes pseudo-classes are not enough.
Received on Monday, 26 March 2012 14:41:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT