Re: [cssom] serializing Selectors

On Tue, 20 Oct 2009 16:02:36 +0200, Andrey Mikhalev  
<> wrote:
> neither:
> ability to aceess @namespace rules essential if stylesheet
> constructed using cssom api.

Do implementations even support this? Changing the representation in the  
object model does not have to effect whether it can be created and/or  
serialized though.

> removing them from rules collection making cssom inconsistent/inadequate.
> the same if changes not affect namespace map (subsequent rule insertion
> broken).

I don't follow.

> too high price for 'perfect serialization'. i prefer non-serializable  
> impl:
> - changes in @namespace rules mirrored to namespace map in sheet's
>    context immediately;
> - such map used only during parse;
> - any subsequent parser invocation use current state of map.

This seems a lot worse.

Anne van Kesteren

Received on Tuesday, 20 October 2009 20:05:11 UTC