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

Re: [css3-namespace] 3.1 Syntax

From: Erik Dahlström <ed@opera.com>
Date: Tue, 11 Mar 2008 16:12:42 +0100
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.t7uxvgmhgqiacl@gnorps.palace.opera.no>

On Mon, 10 Mar 2008 18:06:12 +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.
>>
>>> Any @namespace rules must follow all @charset and @import rules and
>>> precede all other non-ignored at-rules and rule sets in a style
>>> sheet
>>  Why? What benefit does that provide?
>
> David Baron explained the reasoning behind this placement in
>    http://lists.w3.org/Archives/Public/www-style/2008Mar/0133.html
>
>> What if you want to later define an important @-rule and want it to be
>> 'right after' @charset?
>
> Then the spec that defines that @-rule will need to specify its placement
> with respect to the @namespace rule and clarify that this rule not cause
> any later @namespace rules to be considered invalid.
>
>> Preceding all 'non-ignored' @rules seems rather odd, too.  It makes a
>> stylesheet move from valid to invalid
>
> This is a forward-compatible parsing requirement to allow for a new  
> @-rule
> to be placed before @namespace. With this requirement, if a later spec
> introduces such a rule, UAs compatible with the current spec will ignore  
> it
> rather than treating the @namespace rule as invalid.
>
>> Suggestion: Simply state that @namespace rules must precede any rules
>> that use namespaces.
>
> Rejected for reasons stated above. Please let me know if this is  
> acceptable
> or if I should register this as a Formal Objection.

The resolution is acceptable, 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:13:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:02 GMT