W3C home > Mailing lists > Public > www-style@w3.org > December 2006

Re: Question about linking CSS to XML vocabularies

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 29 Dec 2006 06:59:53 +0100
Message-ID: <4594AED9.7010500@disruptive-innovations.com>
To: Mike Bremford <mike-css@bfo.co.uk>
Cc: www-style@w3.org

Mike Bremford wrote:

> Styling of arbitrary XML doesn't require any additional attributes to be 
> added. The "#id" and ".class" selectors are just syntactic sugar for the 
> attribute selectors "[id=id]" and "[class~=class]" - there is nothing 
> special about those attributes in CSS, and they don't need to exist in 
> your XML vocabulary. The "style" attribute isn't part of CSS - that's an 
> XHTML-specific way of specifying CSS inline.

This is false.
The specificity of #id is higher than [id=id]'s.

</Daniel>, with his Selectors' editor hat on
Received on Friday, 29 December 2006 05:59:55 UTC

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