Re: [CSSOM] CSSRule.NAMESPACE_RULE

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 UTC