recalcStyle rendertree corruption

Dirk Mueller mueller at kde.org
Wed Jan 14 21:25:41 GMT 2004


Hi, 

it seems advanced DOM usage with <object> triggers a recalcStyle that is 
started when the tree is not fully in a healthy state. the problem is then 
that the tree is corrupted when somewhere the display() is changing - it 
attaches childs that do not have an attached parent. 

see testcase and patch. I'm not entirely sure of this one to be safe - but I 
can't think of something that could break. 


Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040114/46a262cc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dom_element.diff
Type: text/x-diff
Size: 794 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040114/46a262cc/attachment.diff>


More information about the kfm-devel mailing list