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

Re: Reuse qualified name syntax

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 20 Sep 2010 07:51:27 -0700
Message-ID: <AANLkTin37JDkcdnM7n3-qqQA3ETdJcPM1wrBLB9uhmV5@mail.gmail.com>
To: Paul Duffin <pduffin@volantis.com>
Cc: Anne van Kesteren <annevk@opera.com>, Sylvain Galineau <sylvaing@microsoft.com>, www-style <www-style@w3.org>
On Mon, Sep 20, 2010 at 4:49 AM, Paul Duffin <pduffin@volantis.com> wrote:
> Thanks for everyone's feedback and comments. I have decided not to accept the challenge of convincing W3C of need for using CSS Qualified Names everywhere. So, I will ask a different question, probably should have asked this in the first place ;-); first some background:
> We have our own CSS processor that takes a CSS like mechanism for styling our markup. Our use case is quite different to most of you as we do the majority of the CSS styling on the server, and optimize for each device. As you can imagine that is a very interesting challenge.
> I want to extend our CSS like language to make use of CSS Qualified Names in lots more places, basically almost everywhere that an IDENT could be used, e.g.:
> * Pseudo class names
> * Pseudo element names
> * At-rule names
> * Property names
> * Keyword names
> * Class names
> Before I do that I wanted to check to see whether you have any plans for reusing the CSS Qualified Names syntax, i.e. <IDENT>|<IDENT> for any other purpose that could conflict with what I am doing, as I want to be as CSS like as possible. I was concerned that | may be used along with () for more logical grouping of selectors but that appears to be satisfied with the :any() pseudo class. It seems to me that any use of | in that way would be confused with CSS Qualified Names and so should be avoided, even if you never plan to extend use of them in this way.

Yeah, | is already "taken" for Namespaces and can't ever be used as a

I'm not enough of a grammar nerd to understand whether there are any
parts of the Core Grammar that would conflict with using | in the
other locations you want.  Of course, if this is a proprietary
extension, it doesn't particularly matter what the Core Grammar says.
Just do what you want.

Received on Monday, 20 September 2010 14:52:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC