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

Re: [css4-selectors] Focused descendant pseudo class

From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
Date: Thu, 26 Jan 2012 19:33:24 +0400
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-Id: <300141327592005@web73.yandex.ru>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:49 GMT