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

Side by Side Diff: LayoutTests/svg/custom/animateMotion-path-change-crash.svg

Issue 12279020: Merge 142899 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/animateMotion-path-change-crash-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
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k">
2 <text x="0" y="10">Test for WK106530: This test passes if it does not crash.</te xt> 2 <text x="0" y="10">Test for WK106530: This test passes if it does not crash.</te xt>
3 <animateMotion dur="2s" begin="animateMotion1.begin" id="animateMotion2" ><anima teMotion id="animateMotion1" /> 3 <animateMotion dur="2s" begin="animateMotion1.begin" id="animateMotion2" ><anima teMotion id="animateMotion1" />
4 <mpath xlink:href="#curve"/> 4 <mpath xlink:href="#curve"/>
5 <path id="curve"/> 5 <path id="curve"/>
6 </animateMotion> 6 </animateMotion>
7 <script type="text/javascript"><![CDATA[ 7 <script type="text/javascript"><![CDATA[
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 10
11 var animateMotion2El = document.getElementById("animateMotion2"); 11 var animateMotion2El = document.getElementById("animateMotion2");
12 var curveEl = document.getElementById("curve"); 12 var curveEl = document.getElementById("curve");
13 13
14 setTimeout(function(){ 14 setTimeout(function(){
15 curveEl.appendChild(animateMotion2El.cloneNode(true)); 15 curveEl.appendChild(animateMotion2El.cloneNode(true));
16 animateMotion2El.appendChild(curveEl.cloneNode(true)); 16 animateMotion2El.appendChild(curveEl.cloneNode(true));
17 curveEl.parentNode.removeChild(curveEl); 17 curveEl.parentNode.removeChild(curveEl);
18 if (window.testRunner) { 18 if (window.testRunner) {
19 testRunner.dumpAsText(); 19 testRunner.dumpAsText();
20 testRunner.notifyDone(); 20 testRunner.notifyDone();
21 } 21 }
22 }, 1); 22 }, 1);
23 ]]></script> 23 ]]></script>
24 </svg> 24 </svg>
25 25
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/animateMotion-path-change-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698