New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 615679 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

External SVG using CSS transform is not rendered correctly

Reported by k...@asamuzak.jp, May 29 2016

Issue description

UserAgent: 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
 

Comment 1 by k...@asamuzak.jp, May 29 2016

Also confirmed with Chromium 50.0.2661.102 Ubuntu 15.10

Comment 2 by k...@asamuzak.jp, May 30 2016

Added extra samples in http://asamuzak.jp/test/svg_transform_test
It seems that it happens when symbol + use is used.

Comment 3 by f...@opera.com, May 30 2016

Components: Blink>SVG
Labels: -OS-Windows
Status: WontFix (was: Unconfirmed)
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

Comment 4 Deleted

====================================

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.

Comment 6 by k...@asamuzak.jp, 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).

Comment 7 by davve@opera.com, May 30 2016

Cc: davve@opera.com
Owner: ----
Regardless, the UseCounter addition looks like a bogus bisect result for changing anything (in practice).

Sign in to add a comment