W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [selectors4] Selectors 4 and Variables

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 30 Sep 2011 11:23:22 -0700
Message-ID: <4E86091A.7040407@inkedblade.net>
To: www-style@w3.org
On 09/29/2011 11:36 PM, Daniel Glazman wrote:
> (resent with the correct subject line, sorry for that)
>
> Hi there,
>
> Both Selectors 4 and Variables now use the $ to represent something.
> I think this is wrong and will lead to CSS maintainance issues
> for web authors since a textual search for $p inside a style sheet will
> retrieve not only the definitions/calls to variable p but also the
> selectors having for subject a p. If this case will be probably be rare
> - but real - in the html world, it could be bigger in the xml one.
> I don't want to see that happen.
>
> I really have the gut feeling we should use different char descriptors
> here. Long, really long ago, I proposed to use !. I still think this is
> the best option, something very visual meaning an emphasis on the
> corresponding simple selector.

My original drafts used !, per your original proposal, but there were
comments on the mailing list where people didn't like that, so I picked
another, somewhat later proposal, which used $. I don't have a strong
opinion.

~fantasai
Received on Friday, 30 September 2011 18:23:52 GMT

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