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

Side by Side Diff: LayoutTests/svg/animations/discard-check-delete.svg

Issue 99533004: [SVG] Implement 'discard' element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg onload="loaded()" version="1.2" baseProfile="tiny" id="svg-root" width="100 %" height="100%"
3 viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
4 xmlns:xlink="http://www.w3.org/1999/xlink">
5 <rect id="r1" x="100" y="100" width="200" height="200" fill="green"/>
6 <rect id="r2" x="100" y="100" width="200" height="200" fill="red" />
7 <discard id="discard1" xlink:href="#r2" begin="2s"/>
8 <set id="set" attributeName="display" to="inline" begin="3s" dur="1s" fill="fr eeze" onbegin="test();"/>
9 <script>
10 if (window.testRunner)
11 testRunner.waitUntilDone();
12
13 function loaded() {
14 document.documentElement.setCurrentTime(4);
15
16 if (window.testRunner)
17 setTimeout(function(){testRunner.notifyDone();}, 100);
pdr. 2013/12/20 23:49:11 Most of these setTimeout(...) calls can have value
18 }
19
20 function test() {
21 var d1 = document.getElementById("discard1");
22 var r2 = document.getElementById("r2");
23
24 if(d1 || r2)
25 document.getElementById("r1").setAttribute("fill", "red");
26 }
27 </script>
28 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698