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

Side by Side Diff: LayoutTests/svg/animations/animateTransform-circular-linked-syncbases.html

Issue 173523003: Make clearing the animated type at the end of an interval more robust (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop explicit timeout in TC. Created 6 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animateTransform-circular-linked-syncbases-expected.txt » ('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 <svg height="100" width="200">
3 <rect x="100" width="100" height="100" fill="#ff0000"></rect>
4 <rect width="100" height="100" fill="#008000">
5 <animateTransform attributeName="transform" type="translate"
6 from="50 0" to="100 0" dur="0.1s" id="right" begin="left.e nd" onend="checkResult()" fill="freeze"/>
7 <animateTransform attributeName="transform" type="translate"
8 from="0 0" to="50 0" dur="0.1s" id="left" begin="0s; right .end+100s"/>
9 </rect>
10 </svg>
11 <script>
12 if (window.testRunner) {
13 testRunner.dumpAsText();
14 testRunner.waitUntilDone();
15 }
16 function checkResult() {
17 document.querySelector('svg').pauseAnimations();
18 var rect = document.querySelector('rect + rect');
19 var rectTransformList = rect.transform.animVal;
20 if (rectTransformList.numberOfItems == 1 &&
21 rectTransformList.getItem(0).matrix.e === 100) {
22 result = 'PASS';
23 } else {
24 result = 'FAIL';
25 }
26 document.body.appendChild(document.createTextNode(result));
27 if (window.testRunner)
28 testRunner.notifyDone();
29 }
30 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animateTransform-circular-linked-syncbases-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698