[SVG] Fix CSS transform handling when zoomed
authorcavalcantii@gmail.com <cavalcantii@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Apr 2014 22:27:37 +0000 (22:27 +0000)
committercavalcantii@gmail.com <cavalcantii@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Apr 2014 22:27:37 +0000 (22:27 +0000)
commit86e0c03b7b2ab192935dfab04e245246fa9923d0
treedabf2158376ebd183bb09a8a10c8482bf87c437c
parentf148a561cebb8d91e4eec2766f8cae2401e3f98b
[SVG] Fix CSS transform handling when zoomed
https://bugs.webkit.org/show_bug.cgi?id=125836

Reviewed by Tim Horton.

Source/WebCore:

Tests: svg/zoom/page/zoom-css-transforms-expected.svg
       svg/zoom/page/zoom-css-transforms.svg

Adjusts CSS transforms when used in SVG to account for unexpected
translation scale. Backport from Chromium #174910.

* svg/SVGGraphicsElement.cpp:
(WebCore::SVGGraphicsElement::animatedLocalTransform):

LayoutTests:

Adjusts CSS transforms when used in SVG to account for unexpected
translation scale. Backport from Chromium #174910.

* svg/zoom/page/zoom-css-transforms-expected.svg: Added.
* svg/zoom/page/zoom-css-transforms.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/zoom/page/zoom-css-transforms-expected.svg [new file with mode: 0644]
LayoutTests/svg/zoom/page/zoom-css-transforms.svg [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGGraphicsElement.cpp