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

Re: [CSSOM] CSSRule.NAMESPACE_RULE

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 02 Mar 2010 14:37:51 +0100
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.u8xz5dqj64w2qv@annevk-t60>
On Tue, 02 Mar 2010 14:00:59 +0100, Daniel Glazman  
<daniel.glazman@disruptive-innovations.com> wrote:
> Le 02/03/10 11:48, Anne van Kesteren a écrit :
>> In another thread a while back we discussed a different model for
>> namespace rules. That since they are syntactic constructs they should
>> live on the CSSStyleSheet object instead.
>
> I understand the syntactic argument but I have a counter-one:
> reserializing a stylesheet will require to serialize the namespace
> rules from CSSStyleSheet after detection of @charset and all @import
> rules. That's not very convenient and adds a disruption to an otherwise
> trivial algo. And, how surprising, that's a task content editors have
> to perform pretty often :-)

I guess... And we expose @import in the same silly way too. Blurp. It is a  
mess.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 2 March 2010 13:38:31 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:25 GMT