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

Issue 774110 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Hidden SVG element and animation bugs.

Reported by hetdoetj...@gmail.com, Oct 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. Create an SVG that with a path inside a <def> tag
2. Create another SVG that references the first one
3. Apply a CSS animation that animates the stroke-dashoffset
4.1. When applying 'visibility: hidden' to the first SVG, you can still see the animation playing there.
4.2. When applying 'display: none' to the fist SVG, the second animation won't play in the referenced SVG. 

What is the expected behavior?
For 4.1. the animation shouldn't be visible.
For 4.2. the animation in the second SVG should still be playing.

What went wrong?
Both of the expected behaviors aren't happening.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 61.0.3163.100  Channel: stable
OS Version: 10.0
Flash Version: 

In the reduced test case, only the SVGs in the corners should be playing.
 
Hidden SVG animation bugs.html
2.7 KB View Download

Comment 1 by f...@opera.com, Oct 12 2017

Labels: OS-Linux
Status: Available (was: Unconfirmed)
This is probably two bugs:

  * 'visibility: hidden' things being painted and
  * animations not running/applying on 'display: none' subtree

the latter is most likely a generic CSS animation issue (since animations are applied during style recalc and require layout objects to work.)
Cc: mrunal.k...@intel.com
Right, 4.2 is a dupe of our other referencing display: none bugs.

The visibility: hidden still painting is an odd one though.
Project Member

Comment 3 by sheriffbot@chromium.org, Oct 12

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment