2010-09-03 Nikolas Zimmermann <nzimmermann@rim.com>
authorzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Sep 2010 14:26:28 +0000 (14:26 +0000)
committerzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Sep 2010 14:26:28 +0000 (14:26 +0000)
commitbfaf4e98a53add11e3774fe06adba1eabfd89ce8
treee15c42fdccd40be09a93fa30f4752be8403ad03f
parent1bda0280933d1f6b6e94af609f20df209c2ce1c7
2010-09-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        SVG atlas map slider doesn't work properly
        https://bugs.webkit.org/show_bug.cgi?id=45107

        SVG 1.1 2nd edition relaxes hit testing rules. The outermost <svg> should react
        to mouse events, in standalone and compound documents, if the mouse location is
        within the intrinsic boundaries of the <svg> element.

        Tests: svg/custom/mouse-move-on-svg-container-standalone.svg
               svg/custom/mouse-move-on-svg-container.xhtml
               svg/custom/mouse-move-on-svg-root-standalone.svg
               svg/custom/mouse-move-on-svg-root.xhtml

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

2010-09-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        SVG atlas map slider doesn't work properly
        https://bugs.webkit.org/show_bug.cgi?id=45107

        * platform/mac/svg/custom/mouse-move-on-svg-container-expected.checksum: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-container-expected.png: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-root-expected.checksum: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-root-expected.png: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.png: Added.
        * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: Added.
        * svg/custom/mouse-move-on-svg-container-standalone.svg: Added.
        * svg/custom/mouse-move-on-svg-container.xhtml: Added.
        * svg/custom/mouse-move-on-svg-root-standalone.svg: Added.
        * svg/custom/mouse-move-on-svg-root.xhtml: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@66731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-container-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-container-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-root-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-root-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/mouse-move-on-svg-container-standalone.svg [new file with mode: 0644]
LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml [new file with mode: 0644]
LayoutTests/svg/custom/mouse-move-on-svg-root-standalone.svg [new file with mode: 0644]
LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderSVGRoot.cpp