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

On Mon, 10 Mar 2008 19:10:19 +0100, fantasai  
<fantasai.lists@inkedblade.net> 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,  
>> 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.
>
> Added
>
>   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.)

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: http://my.opera.com/macdev_ed

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