W3C home > Mailing lists > Public > www-style@w3.org > October 1999

Re: CSS Namespaces: Need multiple namespaces!

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Mon, 4 Oct 1999 22:51:46 +0100 (BST)
To: Peter Linss <peterl@netscape.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9910010003490.16589-100000@ss1.bath.ac.uk>
On Thu, 30 Sep 1999, Peter Linss wrote:

> They also don't have to have the same element name, so if ReviewML
> calls their "paragraph-type" elements "foo" then being able to declare
> both namespaces with the same prefix still does not allow you to
> address both elements with one selector.

Hmm. Very good point.

>>> This would be the moral equivalent to some declaration like:
>>>    @equivalence heading { h1, h2, h3, h4, h5, h6 }
>>>    heading { color: blue }
>>> rather than saying:
>>>    h1, h2, h3, h4, h5, h6 { color: blue }
> I wasn't proposing a formal syntax, just an example to illustrate the concept.

Yes... I think this concept is much better than what I was proposing,
certainly for this kind of thing. It has been proposed before, though.
And I'm not sure I've ever been in favour or found a decent syntax...

Ian Hickson
: Is your JavaScript ready for Nav5 and IE5?
: Get the latest JavaScript client sniffer at 
: http://developer.netscape.com/docs/examples/javascript/browser_type.html
Received on Monday, 4 October 1999 17:51:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:51 UTC