2011-02-23 Dominic Mazzoni <dmazzoni@google.com>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2011 09:30:56 +0000 (09:30 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2011 09:30:56 +0000 (09:30 +0000)
commit62cf4088af9c62704439a82cffbb8da84e50a02f
treefb75724f4f56e362aaa8f0939e7b6243a51462ed
parentfe4917162033feafe012337da35413bba00eaaaf
2011-02-23  Dominic Mazzoni  <dmazzoni@google.com>

        Reviewed by Kenneth Russell.

        Add a new test to make sure that a canvas can receive click events and
        that hit testing is working correctly.

        https://bugs.webkit.org/show_bug.cgi?id=54697

        * canvas/canvas-mouse-events-expected.txt: Added.
        * canvas/canvas-mouse-events.html: Added.
        * platform/mac-wk2/Skipped:
        * platform/qt-wk2/Skipped:
        * platform/win-wk2/Skipped:
2011-02-23  Dominic Mazzoni  <dmazzoni@google.com>

        Reviewed by Kenneth Russell.

        Add a hit test handler for canvas elements that handles clicks on the canvas but ignores children.
        https://bugs.webkit.org/show_bug.cgi?id=54697

        New test to prevent this from regressing in the future: canvas/canvas-mouse-events.html

        * rendering/RenderHTMLCanvas.cpp:
        (WebCore::RenderHTMLCanvas::nodeAtPoint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/canvas/canvas-mouse-events-expected.txt [new file with mode: 0644]
LayoutTests/canvas/canvas-mouse-events.html [new file with mode: 0644]
LayoutTests/platform/mac-wk2/Skipped
LayoutTests/platform/qt-wk2/Skipped
LayoutTests/platform/win-wk2/Skipped
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderHTMLCanvas.cpp