WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
136524
animate element restart="never" does not work
https://bugs.webkit.org/show_bug.cgi?id=136524
Summary
animate element restart="never" does not work
Balazs Torma
Reported
2014-09-04 02:10:09 PDT
Even when setting restart="never" for an animation, the animation restarts. See fiddle
http://jsfiddle.net/hLtzfo81/
This works on firefox.
Attachments
Add attachment
proposed patch, testcase, etc.
Balazs Torma
Comment 1
2014-09-04 02:10:45 PDT
Tested on google chrome: Google Chrome 37.0.2062.94 (Official Build 290621) OS Linux Blink 537.36 (@180557) JavaScript V8 3.27.34.14 Flash 14.0.0.177 User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36 Command Line /usr/bin/google-chrome-stable --flag-switches-begin --ignore-gpu-blacklist --flag-switches-end Executable Path /opt/google/chrome/google-chrome Profile Path /home/torel/.config/google-chrome/Default
Philip Rogers
Comment 2
2014-09-04 11:07:58 PDT
I don't think this is a bug, as the repeat is just applying to the current animation. Chrome no longer uses webkit so we should file a separate bug against Chrome (at
http://crbug.com/new
). Chrome and Safari have the same behavior in this case though.
Dirk Schulze
Comment 3
2014-09-04 11:10:45 PDT
(In reply to
comment #2
)
> I don't think this is a bug, as the repeat is just applying to the current animation. > > Chrome no longer uses webkit so we should file a separate bug against Chrome (at
http://crbug.com/new
). Chrome and Safari have the same behavior in this case though.
It is a bug:
http://www.w3.org/TR/SVG/animate.html#RestartAttribute
The animation should just happen once in the live time of the document.
Philip Rogers
Comment 4
2014-09-04 11:17:38 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > I don't think this is a bug, as the repeat is just applying to the current animation. > > > > Chrome no longer uses webkit so we should file a separate bug against Chrome (at
http://crbug.com/new
). Chrome and Safari have the same behavior in this case though. > > It is a bug:
http://www.w3.org/TR/SVG/animate.html#RestartAttribute
> > The animation should just happen once in the live time of the document.
I stand corrected. I've filed crbug.com/410918 to track this issue in blink as well.
Ahmad Saleem
Comment 5
2022-09-03 10:56:03 PDT
I am able to reproduce this in Safari 15.6.1 on macOS 12.5.1 where the circle animate whenever you hover mouse over it rather than once and then only till you refresh the browser similar to other browsers (Chrome Canary 107 and Firefox Nightly 106), which animate it only once. Although despite it being reproducible in Safari 15.6.1, it is not reproducible in Safari Technology Preview 152. Hence, I am going to mark this as "RESOLVED CONFIGURATION CHANGED" but I will tag other engineers to add details about which commit might have fixed it between STP 149 and STP152.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug