W3C home > Mailing lists > Public > www-style@w3.org > February 2003

Re: CSS Namespace (error in spec?)

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 20 Feb 2003 06:24:32 -0800 (PST)
To: Chris Lilley <chris@w3.org>
Cc: "www-style@w3.org" <www-style@w3.org>, Sigurd Lerstad <sigler@bredband.no>
Message-ID: <Pine.LNX.4.50.0302200617340.15821-100000@dhalsim.dreamhost.com>

On Thu, 20 Feb 2003, Chris Lilley wrote:
> CSS3 module: Syntax
> W3C Working Draft, 31 May 2002
> http://www.w3.org/TR/2002/WD-css3-syntax-20020531 (member only)
> http://www.w3.org/TR/css3-syntax (404 not found)
> err... has this *ever* been published?

The latest released version of the CSS syntax is in CSS2.x.

Apart from the introduction of @namespace, and the formalisation of the
-vnd-extension convention, there hasn't actually been much of a change
since CSS1.

The CSS3 Syntax module will hopefully include a comprehensive grammar.
This is a huge undertaking, and is not really a priority for the working
group. I wouldn't be surprised if Syntax was one of the last CSS3 modules
to be published.

> And why does a Candidate Recommendation refer to a document that is at
> pre-first-WD stage?

It doesn't. The W3C Selectors spec doesn't depend on the CSS stylesheet
syntax beyond the selectors grammar. In particular, the declaration
mechanism for namespaces is independent of the selector syntax.

For example, one could envisage it being used like this:

   <foo xmnls:bar="http://namespace.example/">
    <selector>bar|title > *|* > bar|*</selector>

...where the Selector inherits the namespace declarations from the XML
around it.

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 20 February 2003 09:24:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:06 UTC