W3C home > Mailing lists > Public > www-style@w3.org > October 2009

Re: [cssom] serializing Selectors

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 20 Oct 2009 22:00:28 +0200
To: "Andrey Mikhalev" <amikhal@abisoft.spb.ru>
Cc: "CSS WG" <www-style@w3.org>
Message-ID: <op.u136621464w2qv@anne-van-kesterens-macbook.local>
On Tue, 20 Oct 2009 16:02:36 +0200, Andrey Mikhalev  
<amikhal@abisoft.spb.ru> 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
http://annevankesteren.nl/
Received on Tuesday, 20 October 2009 20:05:11 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC