Reviewed and landed by Darin.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Aug 2005 08:28:01 +0000 (08:28 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Aug 2005 08:28:01 +0000 (08:28 +0000)
commit2cb823bd067a516c3f25b6962dca4533078219b5
treeebe27f60d4a6da716a13329a34dda070219edf9e
parentf0ffeb4ab3f42fd5c4e29d8e47b879e86165e277
    Reviewed and landed by Darin.

        Test cases added:
        * layout-tests/dom/html/level2/events/dispatchEvent08-expected.txt:
        * layout-tests/dom/html/level2/events/dispatchEvent10-expected.txt:
        * layout-tests/dom/html/level2/events/dispatchEvent12-expected.txt:
These pass now.

        * layout-tests/dom/html/level2/events/dispatchEvent11-expected.txt:
        * layout-tests/dom/html/level2/events/dispatchEvent13-expected.txt:
These fail someplace else now.

        * khtml/ecma/kjs_events.cpp:
        (KJS::JSAbstractEventListener::handleEvent):
Check if the listener has a "handleEvent" function property and
call that.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::dispatchGenericEvent):
A capturing event listener should not be triggered if an event is
dispatched directly to the node to which the listener has been added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/dom/html/level2/events/dispatchEvent08-expected.txt
LayoutTests/dom/html/level2/events/dispatchEvent10-expected.txt
LayoutTests/dom/html/level2/events/dispatchEvent11-expected.txt
LayoutTests/dom/html/level2/events/dispatchEvent12-expected.txt
LayoutTests/dom/html/level2/events/dispatchEvent13-expected.txt
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_events.cpp
WebCore/khtml/xml/dom_nodeimpl.cpp