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

Side by Side Diff: LayoutTests/svg/animations/smil-syncbase-self-dependency.svg

Issue 144333002: Prevent crash in createInstanceTimesFromSyncbase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="loaded()">
2 <!-- Test whether SMILElement animation self dependencies handled correctly. -->
3 <rect id="rectID" width="100" height="100" fill="green">
4 <animate id="selfID" attributeName="x" begin="0s; selfID.end" dur="0.02s " from="0" to="400"/>
5 </rect>
6 <text id="label" y="150"/>
7 <script>
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
11 }
12
13 function displayMessage() {
14 document.getElementById("label").textContent = "SMILElement animatio n time self-dependency is" +
15 ((document.getElementById("rectID").x.animVal.value > 0) ? " " : " not ") + "handled.";
16 }
17
18 function loaded() {
19 setTimeout('displayMessage()', 30);
20 if (window.testRunner) {
21 setTimeout('testRunner.notifyDone()', 40);
22 }
23 }
24 </script>
25 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698