Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: LayoutTests/svg/as-image/animated-svg-animation-control.html

Issue 206033005: Rewind the timeline for SVG-in-<img> when resetAnimation() is called (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reduce timeouts some more. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>SVG-in-&lt;img&gt;: Animation resets when all references are removed.</ti tle>
3 <img></img>
4 <script>
5 if (window.testRunner)
6 testRunner.waitUntilDone();
7 var img = document.querySelector('img');
8 var imgurl = "resources/animated-rect-color.svg";
9 img.src = imgurl;
10 setTimeout(function() {
11 img.src = "";
12 setTimeout(function() {
13 img.src = imgurl;
14 setTimeout(function() {
15 if (window.testRunner)
16 testRunner.notifyDone();
17 }, 10);
18 }, 0);
19 }, 100);
20 </script>
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698