Re: Optimize setting textContent?

On Thu, Feb 9, 2012 at 12:58 PM, Ryosuke Niwa <rniwa@webkit.org> wrote:

> My only concern will be that developers will start using UAs that
> implement this new behavior and make assumptions that the text node is
> always preserved and create a broken website for users who are using older
> browsers.


As far as I know, that didn't happen while Webkit was doing this for
innerHTML.

Plus, browsers update fast these days :-).

Rob
-- 
"If we claim to be without sin, we deceive ourselves and the truth is not
in us. If we confess our sins, he is faithful and just and will forgive us
our sins and purify us from all unrighteousness. If we claim we have not
sinned, we make him out to be a liar and his word is not in us." [1 John
1:8-10]

Received on Thursday, 9 February 2012 00:18:18 UTC