[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:44:20 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ec9345dd25b5b0a2dc3f3cac56adcc882471fbea
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 24 23:25:28 2002 +0000

    	Make sure we dispatch both a capturing and a bubbling event
    	to target nodes. DOM lvl 2 event compliance.
    
            * ChangeLog:
            * khtml/xml/dom_nodeimpl.cpp:
            (NodeImpl::dispatchGenericEvent):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2153 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 480725f..7aa4d24 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,12 @@
+2002-09-24  David Hyatt  <hyatt at apple.com>
+
+	Make sure we dispatch both a capturing and a bubbling event
+	to target nodes. DOM lvl 2 event compliance.
+	
+        * ChangeLog:
+        * khtml/xml/dom_nodeimpl.cpp:
+        (NodeImpl::dispatchGenericEvent):
+
 2002-09-24  Richard Williamson   <rjw at apple.com>
 
         Fixed 3055078.  Ensure file: URLs have // before path.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 480725f..7aa4d24 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2002-09-24  David Hyatt  <hyatt at apple.com>
+
+	Make sure we dispatch both a capturing and a bubbling event
+	to target nodes. DOM lvl 2 event compliance.
+	
+        * ChangeLog:
+        * khtml/xml/dom_nodeimpl.cpp:
+        (NodeImpl::dispatchGenericEvent):
+
 2002-09-24  Richard Williamson   <rjw at apple.com>
 
         Fixed 3055078.  Ensure file: URLs have // before path.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 480725f..7aa4d24 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2002-09-24  David Hyatt  <hyatt at apple.com>
+
+	Make sure we dispatch both a capturing and a bubbling event
+	to target nodes. DOM lvl 2 event compliance.
+	
+        * ChangeLog:
+        * khtml/xml/dom_nodeimpl.cpp:
+        (NodeImpl::dispatchGenericEvent):
+
 2002-09-24  Richard Williamson   <rjw at apple.com>
 
         Fixed 3055078.  Ensure file: URLs have // before path.
diff --git a/WebCore/khtml/xml/dom_nodeimpl.cpp b/WebCore/khtml/xml/dom_nodeimpl.cpp
index b5be92a..39d6a07 100644
--- a/WebCore/khtml/xml/dom_nodeimpl.cpp
+++ b/WebCore/khtml/xml/dom_nodeimpl.cpp
@@ -506,7 +506,13 @@ bool NodeImpl::dispatchGenericEvent( EventImpl *evt, int &/*exceptioncode */)
     if (!evt->propagationStopped()) {
         evt->setEventPhase(Event::AT_TARGET);
         evt->setCurrentTarget(it.current());
-        it.current()->handleLocalEvents(evt,false);
+
+	// Capturing first. -dwh
+        it.current()->handleLocalEvents(evt,true);
+
+	// Bubbling second. -dwh
+	if (!evt->propagationStopped())
+	  it.current()->handleLocalEvents(evt,false);
     }
     --it;
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list