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

Re: [CSSOM] @namespace at-rule proposal

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 07 Jun 2006 09:55:25 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: www-style@w3.org
Message-ID: <op.taqxl4n664w2qv@id-c0020.oslo.opera.com>

On Tue, 06 Jun 2006 17:02:22 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Anne van Kesteren wrote:
>> Based on limited testing I believe Mozilla uses CSSUnknownRule for it
>
> Actually, Mozilla just uses CSSRule for the DOM representation of  
> namespace rules (as in, instanceof CSSUnknownRule is false), but .type  
> returns UNKNOWN_RULE for lack of anything better to return (since  
> returning anything else would not be forward-compatible with spec  
> revisions).  We do similar things for some other rules (e.g.  
> @-moz-document).  Perhaps there should be a CUSTOM_RULE value to be  
> returned in such cases?

Yeah, so how about changing UNKNOWN_RULE to CUSTOM_RULE? Is that still  
possible within Mozilla or are all relevant interfaces frozen? (And  
besides that still adding NAMESPACE_RULE as 7 with the relevant interface  
of course.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 7 June 2006 07:55:40 GMT

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