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

Re: [selectors4] Universal Selector '*' (asterisk) elsewhere

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Fri, 30 Mar 2012 04:36:29 +0800
Message-ID: <4F74C7CD.2030507@csail.mit.edu>
To: François REMY <fremycompany_pub@yahoo.fr>
CC: Christoph Päper <christoph.paeper@crissov.de>, www-style CSS <www-style@w3.org>
(12/03/29 17:56), François REMY wrote:
> Most of your proposal just doesn't make sense.
> Each pseudoclass has a different meaning, how can you say "I just want
> one of them"? Seriously, why would you apply the same styling for a
> :hover element, a :invalid and a :valid element ? Matching any
> parametric pseudoclass is also pure non-sense. :*(xxx) would match
> :any(:matches(xxx),:not(xxx)) which mean all elements.

Agreed. But perhaps there might be use cases of *::*, which should
include all elements and pseudo-elements all together, esp. for
non-inheritable properties, although I haven't thought of anything that
I would truly consider useful.

(If 'image-orientation' were not changed to be inheritable.

*::* { image-orientation: from-exif; }

might be useful maybe? Would *::* { clear: both; } be any of use? What
about *::* { box-decoration-break: clone; } ? )

Received on Thursday, 29 March 2012 20:37:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:57 UTC