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

On Mon, 10 Mar 2008 19:10:19 +0100, fantasai  
<> wrote:

> 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,  
>> Please let us  
>> know if you have any questions by CC:ing your responses to  
>>> 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.
> Added
>   For example, given the following XML document:
>      <qml:elem xmlns:qml=""></qml:elem>
>    and the following @namespace declarations at the beginning of a CSS  
> file:
>      @namespace Q "";
>      @namespace lq "";
>    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.)

That looks fine, thanks.
/Erik, on behalf of the SVG WG

Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog:

Received on Tuesday, 11 March 2008 15:01:20 UTC