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 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:12 UTC