W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: [CSS] Rules for parsing and compatibility

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Thu, 01 Jan 2004 12:21:19 +0200
Message-ID: <3FF3F49F.6000801@myrealbox.com>
To: Mikko Rantalainen <mira@cc.jyu.fi>
Cc: www-style@w3.org

Mikko Rantalainen wrote:

> If rules for multiple elements are tied together and one of them is 
> changed via DOM I'd expect that calculating computed style could take 
> serious CPU hit in some cases. This is because setting property to 
> unsupported value could invalidate entire rule set and invalidating that 
> could cause further chain effect when "unhidden" rules cause other @ties 
> to invalidate (if nesting is allowed). I'm just guessing about possible 
> problems, really.
>
> As I think it further it seems reasonable to implement every @tie as it 
> was a separate style sheet and simply toggle that on and off as required 
> -- that is, on if every rule is implemented, off if any rule cannot be 
> implemented. That way, existing styling code can be maximally reused 
> (and stuff like !important Just Works).

Yes, until there is somewhat implementation as base we could only 
speculate on the correct approach.

> [Did my previous posting get to the mailing list or is my UA simply 
> broken?]

No, it's my fault - seems I've pushed the "Reply" and not the "Reply 
All" button, sorry.

-- 
Stanimir
Received on Thursday, 1 January 2004 05:21:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT