Re: Mutation events replacement

On 7/20/11 4:26 AM, Dave Raggett wrote:
> You note that style attributes may be long as an argument against permitting applications to see the
> before value.

The problem is not the length per se.  The problem is that the value is 
not stored anywhere and has to be generated based on other data 
structures, which can be very expensive.  For example, as sane algorithm 
for generating this value will examine all the individual CSS property 
values to determine which of them can be collapsed into shorthands.

> In summary, let's allow applications to choose what data they want to
> see!

As long as the "slow as molasses" behavior is opt-in, not opt-out... ;)

-Boris

Received on Wednesday, 20 July 2011 15:33:02 UTC