New issue
Advanced search Search tips

Issue 830009 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

svg animations unpexted stop in a few minutes

Reported by cj6336...@gmail.com, Apr 6 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

Steps to reproduce the problem:
1. run below svg, you will see five balls move along with one path
2. in a few minutes, the first ball stops, then other balls will stop one by one

<svg fill="#435063" viewBox="0 0 64 64">
  <g>
    <path d="m-40,0 q-8, -7, 0, -15 l40, 0 l0,15"
          stroke="#529fd9" stroke-width="1" fill="none" id="route1"></path>
    <path d="m0,0 l-40, 0" stroke="#529fd9" stroke-width="1" fill="none" id="route2"></path>
    <ellipse cx="53" cy="32" rx="3" ry="3" stroke-width="1">
      <animateMotion id="a1" dur="1.6s" begin="0s;a1.end+0.4s">
        <mpath xlink:href="#route2"></mpath>
      </animateMotion>
      <animateMotion dur="0.39s" begin="a1.end">
        <mpath xlink:href="#route1"></mpath>
      </animateMotion>
      <animate
             attributeName="ry"
             values="3;2;2;2;3"
             begin="a1.end+0.05s" dur="0.32s"
            />
      <animate
             attributeName="rx"
             values="3;5;5;5;3"
             begin="a1.end+0.05s" dur="0.32s"
            />
    </ellipse>
    <ellipse cx="53" cy="32" rx="3" ry="3" stroke-width="1">
      <animateMotion id="b1" dur="1.6s" begin="0.4s;b1.end+0.4s">
        <mpath xlink:href="#route2"></mpath>
      </animateMotion>
      <animateMotion dur="0.39s" begin="b1.end">
        <mpath xlink:href="#route1"></mpath>
      </animateMotion>
      <animate
             attributeName="ry"
             values="3;2;2;2;3"
             begin="b1.end+0.05s" dur="0.32s"
            />
      <animate
             attributeName="rx"
             values="3;5;5;5;3"
             begin="b1.end+0.05s" dur="0.32s"
            />
    </ellipse>
    <ellipse cx="53" cy="32" rx="3" ry="3" stroke-width="1">
      <animateMotion id="c1" dur="1.6s" begin="0.8s;c1.end+0.4s">
        <mpath xlink:href="#route2"></mpath>
      </animateMotion>
      <animateMotion dur="0.39s" begin="c1.end">
        <mpath xlink:href="#route1"></mpath>
      </animateMotion>
      <animate
             attributeName="ry"
             values="3;2;2;2;3"
             begin="c1.end+0.05s" dur="0.32s"
            />
      <animate
             attributeName="rx"
             values="3;5;5;5;3"
             begin="c1.end+0.05s" dur="0.32s"
            />
    </ellipse>
    <ellipse cx="53" cy="32" rx="3" ry="3" stroke-width="1">
      <animateMotion id="d1" dur="1.6s" begin="1.2s;d1.end+0.4s">
        <mpath xlink:href="#route2"></mpath>
      </animateMotion>
      <animateMotion dur="0.39s" begin="d1.end">
        <mpath xlink:href="#route1"></mpath>
      </animateMotion>
      <animate
             attributeName="ry"
             values="3;2;2;2;3"
             begin="d1.end+0.05s" dur="0.32s"
            />
      <animate
             attributeName="rx"
             values="3;5;5;5;3"
             begin="d1.end+0.05s" dur="0.32s"
            />
    </ellipse>
    <ellipse cx="53" cy="32" rx="3" ry="3" stroke-width="1">
      <animateMotion id="e1" dur="1.6s" begin="1.6s;e1.end+0.4s">
        <mpath xlink:href="#route2"></mpath>
      </animateMotion>
      <animateMotion dur="0.39s" begin="e1.end">
        <mpath xlink:href="#route1"></mpath>
      </animateMotion>
      <animate
             attributeName="ry"
             values="3;2;2;2;3"
             begin="e1.end+0.05s" dur="0.32s"
            />
      <animate
             attributeName="rx"
             values="3;5;5;5;3"
             begin="e1.end+0.05s" dur="0.32s"
            />
    </ellipse>
  </g>
</svg>

What is the expected behavior?
Already tested the svg in firefox, the animations keep runing well (at least 5 hours)

What went wrong?
svg animations doesn't run as expected

Did this work before? N/A 

Chrome version: <Copy from: 'about:version'>  Channel: stable
OS Version: 10.0
Flash Version: 

This is the link I posted at StackOverFlow.
https://stackoverflow.com/questions/49677597/svg-animation-unexpectedly-stop-in-a-few-minutes
 
Labels: Needs-Milestone
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
cj6336688@ Could you please provide above code in html file for further triage

Thank You...

Comment 3 by cj6336...@gmail.com, Apr 10 2018

@kkaluri, please find the attachment on the svg in html.
svg-issue.html
3.3 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 10 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: pnangunoori@chromium.org
Components: Blink>Canvas Blink>SVG
Labels: Target-67 M-68 FoundIn-66 Target-66 Target-68 FoundIn-68 FoundIn-69 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Tested on latest Chrome Stable #66.0.3359.117, Canary #68.0.3409.0 and Chrome #60.0.3072.0 on Windows 10, Mac 10.13.3 and Debian Rodete and able to reproduce the issue.

This is a non-regression issue and able to reproduce from M-60 #60.0.3072.0. Marking it as untriaged so that issue gets addressed.

Steps Followed:
1. Launch Chrome.
2. Open the sample HTML file provided in Comment #3.
3. Switch to other tab and then switch to other window.
4. Wait for sometime.
5. Open the tab where the sample file is launched.
6. Wait for sometime, observed that one ball disappears.
7. Repeat the steps 3-6.
8. Finally only one ball is remained.

Note:
1. In FireFox browser it seems to be fine.
2. Attached the screenshot for reference.


Thanks.

830009.png
644 KB View Download
Components: -UI -Blink>Canvas
Labels: OS-Android OS-Chrome
Status: Available (was: Untriaged)

Sign in to add a comment