[webkit-changes] cvs commit: WebCore/khtml/xml dom_nodeimpl.cpp

Timothy thatcher at opensource.apple.com
Fri Nov 18 10:26:37 PST 2005


thatcher    05/11/18 10:26:36

  Modified:    .        Tag: Safari-2-0-branch ChangeLog
               khtml/xml Tag: Safari-2-0-branch dom_nodeimpl.cpp
  Log:
          Reviewed by Dave Harrson.
          Commited by Tim Hatcher.
  
          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5629
          REGRESSION: appendChild() does not remove nodes from source
          nodelist when inserting into destination
  
          * khtml/rendering/render_layer.cpp:
          (khtml::ContainerNodeImpl::appendChild): Dispatch old parent's
          subtree modified event from appendChild()
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.71  +13 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.1.2.70
  retrieving revision 1.1.2.71
  diff -u -r1.1.2.70 -r1.1.2.71
  --- ChangeLog	18 Nov 2005 18:02:32 -0000	1.1.2.70
  +++ ChangeLog	18 Nov 2005 18:26:27 -0000	1.1.2.71
  @@ -1,3 +1,16 @@
  +2005-11-18  Mitz Pettel  <opendarwin.org at mitzpettel.com>
  +
  +        Reviewed by Dave Harrson.
  +        Commited by Tim Hatcher.
  +
  +        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5629
  +        REGRESSION: appendChild() does not remove nodes from source
  +        nodelist when inserting into destination
  +
  +        * khtml/rendering/render_layer.cpp:
  +        (khtml::ContainerNodeImpl::appendChild): Dispatch old parent's
  +        subtree modified event from appendChild()
  +
   2005-11-18  Timothy Hatcher  <timothy at apple.com>
   
           Merged fix from TOT to Safari-2-0-branch
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.140.8.13 +2 -0      WebCore/khtml/xml/dom_nodeimpl.cpp
  
  Index: dom_nodeimpl.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/xml/dom_nodeimpl.cpp,v
  retrieving revision 1.140.8.12
  retrieving revision 1.140.8.13
  diff -u -r1.140.8.12 -r1.140.8.13
  --- dom_nodeimpl.cpp	17 Nov 2005 01:17:40 -0000	1.140.8.12
  +++ dom_nodeimpl.cpp	18 Nov 2005 18:26:35 -0000	1.140.8.13
  @@ -2007,6 +2007,8 @@
               child->attach();
           
           getDocument()->allowEventDispatch();
  +        if (oldParent)
  +            oldParent->dispatchSubtreeModifiedEvent(true);
           
           // Dispatch the mutation events
           dispatchChildInsertedEvents(child,exceptioncode);
  
  
  



More information about the webkit-changes mailing list