Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined OS-Windows
New issue 174910 by
IO.Bak...@gmail.com: on svg content -webkit-transform:
translate(XXXpx, YYYpx); works wrong combining with css zoom while svg
attribute transform="translate(XXX YYY)" works fine
http://code.google.com/p/chromium/issues/detail?id=174910
Chrome Version : 24.0.1312.57
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5:
Firefox 4.x:
IE 7/8/9:
What steps will reproduce the problem?
1. open svg_css_transform_bug.html file from attachments below
2. click "zoom: 1.5" button
3. see four bars instead of three (fourth bar position became different
then third bar position, hoverer they mast be the same)
What is the expected result?
three bars should be visible, forth bar mast be always at the same position
as third bar ;
style="-webkit-transform: translate(98px, 8px);" and
transform="translate(98 8)"
should produce identical positioning in any zoom level (not just when
zoom=1.0)
What happens instead of that?
zoom applied twice in case of "-webkit-transform: translate(98px, 8px);"
It can be easily see from .getCTM() method results.
For transform="translate(98 8)" it rapports
{"f":8,"e":98,"d":1,"c":0,"b":0,"a":1}
at any zoom level
For style="-webkit-transform: translate(98px, 8px);"
it rapports
{"f":8,"e":98,"d":1,"c":0,"b":0,"a":1}
only when zoom = 1.0,
{"f":4,"e":49,"d":1,"c":0,"b":0,"a":1}
for zoom = 0.5, etc
Please provide any additional information below. Attach a screenshot if
possible.
when animation (-webkit-transition) applied to css property
-webkit-transform you can see this affect by just using ctrl+mouse_wheel
browser zooming, and notice unexpected animation of svg content that was
positioned with -webkit-transform css property (just click "apply transform
transition" button in attached svg_css_transform_bug.html file, and then
use browser zooming)
UserAgentString: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17
(KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
Attachments:
svg_css_transform_bug.html 3.8 KB