Re: CSS Namespaces: Need multiple namespaces!

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