Changeset 19897 in webkit
- Timestamp:
- Feb 27, 2007 3:13:26 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r19896 r19897 1 2007-02-27 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Hyatt. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=12918 6 REGRESSION: Google Finance dropdown Flickers 7 <rdar://4988039> 8 9 * fast/events/mouseout-dead-node-expected.checksum: Added. 10 * fast/events/mouseout-dead-node-expected.png: Added. 11 * fast/events/mouseout-dead-node-expected.txt: Added. 12 * fast/events/mouseout-dead-node.html: Added. 13 1 14 2007-02-27 Geoffrey Garen <ggaren@apple.com> 2 15 -
trunk/WebCore/ChangeLog
r19894 r19897 1 2007-02-27 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Hyatt. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=12918 6 REGRESSION: Google Finance dropdown Flickers 7 <rdar://4988039> 8 9 If a node dies while mouse is over it, it is still supposed to receive 10 mouseout event (wasn't case in Tiger webkit). However this event should 11 not propagate to any other nodes. This patch matches Firefox behavior in 12 this respect. 13 14 * dom/EventTargetNode.cpp: 15 (WebCore::EventTargetNode::dispatchGenericEvent): 16 1 17 2007-02-27 Geoffrey Garen <ggaren@apple.com> 2 18 -
trunk/WebCore/dom/EventTargetNode.cpp
r19681 r19897 178 178 // work out what nodes to send event to 179 179 DeprecatedPtrList<Node> nodeChain; 180 Node *n; 181 182 for (n = this; n; n = n->eventParentNode()) { 183 n->ref(); 184 nodeChain.prepend(n); 180 181 if (inDocument()) { 182 for (Node* n = this; n; n = n->eventParentNode()) { 183 n->ref(); 184 nodeChain.prepend(n); 185 } 186 } else { 187 // if node is not in the document just send event to itself 188 ref(); 189 nodeChain.prepend(this); 185 190 } 186 191
Note: See TracChangeset
for help on using the changeset viewer.