[SVG] Fix CSS transform handling when zoomed.

CSS takes the page zoom factor into account for all computed length
values, including transform translation components.

OTOH, SVG applies the zoom factor globally (at the SVG root level) -
so when using CSS transforms in SVG, the translation components are
scaled twice.

This CL adjusts CSS transforms when used in SVG to account for
the unexpected translation scale.

BUG=174910
R=pdr@chromium.org,schenney@chromium.org

Review URL: https://codereview.chromium.org/40293002

git-svn-id: svn://svn.chromium.org/blink/trunk@160546 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed