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

Re: Mutation events replacement

From: Dave Raggett <dsr@w3.org>
Date: Wed, 20 Jul 2011 09:26:36 +0100
Message-ID: <4E26913C.3080703@w3.org>
To: Jonas Sicking <jonas@sicking.cc>
CC: Rafael Weinstein <rafaelw@google.com>, Ryosuke Niwa <rniwa@webkit.org>, Olli@pettay.fi, Aryeh Gregor <Simetrical+w3c@gmail.com>, Adam Klein <adamk@google.com>, Anne van Kesteren <annevk@opera.com>, Webapps WG <public-webapps@w3.org>
Thanks Jonas for the proposal. For changes to attributes and changes to 
the value of text nodes, it should be possible to applications to 
request to see the before/after values.  You note that style attributes 
may be long as an argument against permitting applications to see the 
before value. But what if an editing application really wants to see 
such changes. It could create a copy of the DOM, but that is even more 
expensive when editing a sizable document. The size of text nodes may 
also be long, but a remote editing application could determine whether 
running a diff algorithm against the before/after strings is justified 
for serialization purposes.

In summary, let's allow applications to choose what data they want to 
see!  The almost asynchronous (option 2) works for me for the timing issue.

  Dave Raggett<dsr@w3.org>  http://www.w3.org/People/Raggett
Received on Wednesday, 20 July 2011 08:27:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:22 UTC