External SVG using CSS transform is not rendered correctly
Reported by
k...@asamuzak.jp,
May 29 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0 Example URL: http://asamuzak.jp/test/svg_transform_test Steps to reproduce the problem: 1. go to http://asamuzak.jp/test/svg_transform_test 2. compare inline svg sample vs img + svg / object + svg 3. What is the expected behavior? All 3 samples (inline, img + svg, object + svg) should look the same (except for the color). What went wrong? Transformed svg is not rendered 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: 53.0.2751.0 (Official Build) canary Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 21.0 r0
,
May 30 2016
Added extra samples in http://asamuzak.jp/test/svg_transform_test It seems that it happens when symbol + use is used.
,
May 30 2016
This is because of: "CSS2 selectors cannot be applied to the (conceptually) cloned DOM tree because its contents are not part of the formal document structure." https://www.w3.org/TR/SVG11/struct.html#UseElement
,
May 30 2016
==================================== Good Build: 36.0.1917.0 Base Position: 260462 Bad Build: 36.0.1930.0 Base Position: 262250 ===================================== Able to repro this issue on Windows 7, MAC (10.11.4) & Ubuntu Trusty (14.04) for the Google Chrome Stable Version - 51.0.2704.63 This is a regression issue broken in M36, below mentioned is the bisect info: CHANGELOG URL: https://chromium.googlesource.com/chromium/src/+log/06b311c12438756904446e8ba09132460fbad557..16578a8e3481ffdde5b699fe747f114efb64a26b https://chromium.googlesource.com/chromium/src/+/cd306041df27caf1158b5d3d9272e4ec452b4d96 BLINK CHANGELOG URL: https://chromium.googlesource.com/chromium/blink/+log/d9b8861aa7f5d11e8c22d6d0bed316959c8202e1..ecf0685308c1f56a13903c47ece15a86a8e3e126 Suspecting Commit: 0883e44a48104f08a0a092bea47f94b0660de54a Review URL: https://codereview.chromium.org/220713003 @davve: Could you please look into the issue, and if it has nothing to do with your changes and if possible please do assign it to the concerned owner. Thank you.
,
May 30 2016
> This is because of: > "CSS2 selectors cannot be applied to the (conceptually) cloned DOM tree because its contents are not part of the formal document structure." Oh, thanks for pointing out. Fixed CSS and now it's working as expected (added sample at the end of the test page).
,
May 30 2016
Regardless, the UseCounter addition looks like a bogus bisect result for changing anything (in practice). |
|||
►
Sign in to add a comment |
|||
Comment 1 by k...@asamuzak.jp
, May 29 2016