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

Side by Side Diff: LayoutTests/svg/animations/animate-restart-never.html

Issue 1119723002: SVG animate should respect attribute 'restart=never'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: simplified layout test case Created 5 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animate-restart-never-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.waitUntilDone();
5
6 function animationEnded() {
7 var anim = document.getElementById('anim');
8 anim.beginElement();
9 testRunner.displayAsyncThen(function() {
fs 2015/05/05 14:39:20 Always good to be able to run the test without the
10 testRunner.notifyDone();
fs 2015/05/05 14:39:20 This still feels like it will be flaky - beginElem
11 });
12 }
13 </script>
14 <svg>
15 <rect id="rect" width="100px" height="100px" fill="red">
16 <animate id="anim"
17 begin="0s"
18 dur="0.2s"
fs 2015/05/05 14:39:19 Now this test takes 200+ms...
19 attributeName="fill"
20 from="red" to="green"
21 fill="freeze"
22 restart="never"
23 onend="animationEnded()"/>
24 </rect>
25 </svg>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animate-restart-never-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698