innerHTML problem?
David Faure
faure at kde.org
Thu Sep 2 21:25:07 BST 2004
On Thursday 02 September 2004 19:45, Leo Savernik wrote:
> Am Donnerstag, 2. September 2004 18:05 schrieb David Faure:
> [...]
> > > Here's a simpler patch. Please review.
> >
> > Hmm, indeed. Any idea why innerText() does it the complex way?
> > It seems that for an element without children it's going to get the text of
> > the next sibling, which sounds broken...
>
> I guess because there's no method to recursively traverse only the text nodes.
Ah, I see.
OK, can you commit your innerHTML fix? Thanks.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list