patch to bug 82243: cannot dynamically add applets...
Leo Savernik
l.savernik at aon.at
Tue Feb 8 15:59:33 GMT 2005
Hello,
Am Dienstag, 8. Februar 2005 01:57 schrieb Paul Temple:
> In order to make the applet work, we need to call
> NodeImpl::closeRenderer() after NodeImpl::attach().
>
Actually, we want to get rid of the closeRenderer() thingy altogether.
> But as the attach() calls are spread all over that file - I think
> the methods appendChild, replaceChild, removeChild and
> insertBefore could share most of their code - we need to add the
> closeRenderer() at least to insertBefore and replaceChild.
What you're proposing is the opposite approach. Emulating the closing tag by
closing the renderer for inserted elements.
Which way we're going to persue depends on the facts whether
- it's doable within a sensible amount of time
- it yields better performance.
>
> Does anyone know if there are any side effects if we add those
> closeRenderer() lines?
testregression will tell you.
> I'm really new to khtml and don't know
> its structure enough. I suspect this bug would have been fixed a
> long time ago if it really was that easy.
I suspect that, too. There have been some nasty dataloss bugs wrt to textareas
[1]. Double check that they don't break.
mfg
Leo
[1] http://bugs.kde.org/show_bug.cgi?id=86916
-------------- 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/20050208/9abc2186/attachment.sig>
More information about the kfm-devel
mailing list