Re: [css4-selectors] Focused descendant pseudo class

26.01.2012, 03:06, "fantasai" <fantasai.lists@inkedblade.net>:
> On 01/25/2012 02:34 PM, Brian Kardell wrote:
>
>> š! Or $ šš?
>>
>> š:-)
>
> Something. Or other. :) The problem with $ was that it's often
> used for variables, so people didn't like that for that reason,
> which is fair. I don't have a particular preference of ASCII
> character.
>
> ~fantasai

Currently we probably have too many syntaxes that have similar meaning:

1. ':scope' in Selectors 4 (dev.w3.org/csswg/selectors4/ );
2. '!'  in Selectors 4 (dev.w3.org/csswg/selectors4/ );
3. '&' in CSS Hierarchies Module (dev.w3.org/csswg/css3-hierarchies/ ).

Instead, we could use one ':this' pseudo-element. I've initially proposed this pseudo-element in a thread related to potential '@with' at-rule:

http://lists.w3.org/Archives/Public/www-style/2012Jan/0371.html

(':scope' may be considered as possible alternative for ':this', though use of ':scope' is questionable for me since it can be confusing when used in conjunction with HTML5 scoped stylesheets.)

Received on Thursday, 26 January 2012 15:34:04 UTC