W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: [css3-namespace] 3. Declaring namespaces: the @namespace rule

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 10 Mar 2008 11:10:19 -0700
Message-ID: <47D5798B.3050001@inkedblade.net>
To: Erik Dahlström <ed@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>

Erik Dahlström wrote:
> Dear CSS WG,
> This is a last call comment from the SVG WG on the CSS Namespaces 
> Module, W3C Working Draft 15 February 2008, 
> http://www.w3.org/TR/2008/WD-css3-namespace-20080215/. Please let us 
> know if you have any questions by CC:ing your responses to www-svg@w3.org.
>> Thus the actual prefixes used in a CSS style sheet, and whether they
>> are defaulted or not, are independent of the namespace prefixes used
>> in the markup and whether these are defaulted or not.
> Excellent; this is a critical feature. Please add an example that
> clearly demonstrates this.


  For example, given the following XML document:
     <qml:elem xmlns:qml="http://example.com/q-markup"></qml:elem>
   and the following @namespace declarations at the beginning of a CSS file:
     @namespace Q "http://example.com/q-markup";
     @namespace lq "http://example.com/q-markup";
   The selectors Q|elem and lq|elem in that CSS file would both match the
   element qml:elem. (The selector qml|elem would be invalid.)

Received on Monday, 10 March 2008 19:09:42 UTC

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