W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Mutation events replacement

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 20 Jul 2011 11:32:24 -0400
Message-ID: <4E26F508.1010504@mit.edu>
To: public-webapps@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:46 GMT