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

Re: [cssom] Directions for better OM expansions

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 14 Sep 2010 08:15:53 -0700
Message-ID: <4C8F91A9.50601@mit.edu>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: www-style list <www-style@w3.org>
On 9/14/10 4:22 AM, Daniel Glazman wrote:
> Warf!!! Having them read-write would be incredibly useful for editing
> tools ! Instead of dealing with rule modification, being able to
> directly tweak the resolved value and have it modify the originating
> rule would save a LOT of code and most certainly bugs...
> I'm with Tab here.

Fwiw, this isn't possible in general, since there are non-CSS sources of 
even cascaded data (e.g. HTML presentational hints).  That's not even 
getting into the business of shorthands and what modifying a cascaded 
shorthand value means.

Of course for anything past cascaded values (computed, used, whatever), 
the concept of "originating rule" just makes no sense period.

Received on Tuesday, 14 September 2010 15:16:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC