CSS transform is not treated properly in SVG
Reported by
k...@asamuzak.jp,
Mar 5 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2667.0 Safari/537.36 Example URL: http://asamuzak.jp/test/svg_interactive_chrome_issue Steps to reproduce the problem: 1. Open attached file (text/html). 2. There are 3 demos. A. Put pointer (mouse) over 1st circle. Then move out. B. Click button for 2nd circle. Then click again. C. Click button for 3rd circle. Then click again. What is the expected behavior? Every circle should move to right bottom on hover (A) or click event (B, C). Then go back to center again on pointer out or second click. What went wrong? All Circle stays at right bottom. Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? N/A Does this work in other browsers? N/A Chrome version: 51.0.2667.0 Channel: canary OS Version: 10.0 Flash Version: Shockwave Flash 21.0 r0 When CSS `transform` is once applied in SVG, transform effect remains even after transform value is set to `none`. Firefox works well.
,
Mar 7 2016
,
Mar 7 2016
,
Mar 7 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3530ee063bf77263b200026b37ad79b097229362 commit 3530ee063bf77263b200026b37ad79b097229362 Author: fs <fs@opera.com> Date: Mon Mar 07 13:03:35 2016 Handle '<something>' to 'none' changes of 'transform' for SVG Only the value of the new style was observed and triggered an update. Check the StyleDifference flag for simplicity. BUG= 592206 Review URL: https://codereview.chromium.org/1771773002 Cr-Commit-Position: refs/heads/master@{#379546} [add] https://crrev.com/3530ee063bf77263b200026b37ad79b097229362/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape-expected.html [add] https://crrev.com/3530ee063bf77263b200026b37ad79b097229362/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html [add] https://crrev.com/3530ee063bf77263b200026b37ad79b097229362/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-text-expected.html [add] https://crrev.com/3530ee063bf77263b200026b37ad79b097229362/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-text.html [modify] https://crrev.com/3530ee063bf77263b200026b37ad79b097229362/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp [modify] https://crrev.com/3530ee063bf77263b200026b37ad79b097229362/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
,
Mar 7 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by k...@asamuzak.jp
, Mar 6 2016