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
Received on Wednesday, 7 June 2006 07:55:40 UTC

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