innerHTML problem?

Leo Savernik l.savernik at aon.at
Thu Sep 2 18:45:52 BST 2004


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.

mfg
 Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040902/83b8ec83/attachment.sig>


More information about the kfm-devel mailing list