[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/xml
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-11-30 21:30:58
Message-ID: 1133386258.114430.23227.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 484463 by orlovich:

Don't forget to invalidate iteration caches when non-visible elements get
shuffled. Fixes #113181
BUG:113181


 M  +1 -0      dom_nodeimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/xml/dom_nodeimpl.cpp #484462:484463
@@ -624,6 +624,7 @@
 void NodeImpl::dispatchSubtreeModifiedEvent()
 {
     childrenChanged();
+    getDocument()->incDOMTreeVersion();
     if (!getDocument()->hasListenerType(DocumentImpl::DOMSUBTREEMODIFIED_LISTENER))
         return;
     int exceptioncode = 0;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic