WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 May 2006 20:30:20 +0000 (20:30 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 May 2006 20:30:20 +0000 (20:30 +0000)
commit97767083affc170e639fe56a92ebfbfdfba15c92
tree154b49ed5a4a194b60146d83a0290a6a2e520c43
parent8711be91938718f7946b06eaf5b1c16cd48c0aa2
WebCore:

2006-05-26  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Geoff.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9127
        Invoke capturing event listeners when AT_TARGET

        * dom/EventTargetNode.cpp:
        (WebCore::EventTargetNode::handleLocalEvents):
        Invoke capturing event listeners for the AT_TARGET phase. This violates the
        DOM spec but it's what Mozilla does.

LayoutTests:

2006-05-26  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Geoff.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9127
        Invoke capturing event listeners when AT_TARGET

        * dom/html/level2/events/dispatchEvent09-expected.txt:
        * dom/xhtml/level2/events/dispatchEvent09-expected.txt:
        These fail now.

        * fast/dom/capturing-event-listeners-expected.txt: Added.
        * fast/dom/capturing-event-listeners.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/dom/html/level2/events/dispatchEvent09-expected.txt
LayoutTests/dom/xhtml/level2/events/dispatchEvent09-expected.txt
LayoutTests/fast/dom/capturing-event-listeners-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/capturing-event-listeners.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/EventTargetNode.cpp