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

Side by Side Diff: LayoutTests/svg/animations/svglength-animation-retarget-crash.html

Issue 9568017: Merge 108134 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 9 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/svglength-animation-retarget-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 <p>This test verifies that SVG animation targets can change during the animation .</p> 1 <p>This test verifies that SVG animation targets can change during the animation .</p>
2 <p id="result"></p> 2 <p id="result"></p>
3 <svg id="svg"> 3 <svg id="svg">
4 <text id="text"></text> 4 <text id="text"></text>
5 <animate xlink:href="#text" id="a" attributeName="y" begin="0.0" from="0" to ="1" dur="1s" repeatCount="indefinite"> 5 <animate xlink:href="#text" id="a" attributeName="y" begin="0.0" from="0" to ="1" dur="1s" repeatCount="indefinite">
6 </svg> 6 </svg>
7 <script> 7 <script>
8 if (window.layoutTestController) { 8 if (window.layoutTestController) {
9 layoutTestController.dumpAsText() 9 layoutTestController.dumpAsText()
10 layoutTestController.waitUntilDone() 10 layoutTestController.waitUntilDone()
11 } 11 }
12 12
13 setTimeout(function() { 13 setTimeout(function() {
14 text = document.getElementById('text') 14 text = document.getElementById('text')
15 text.id = 'not_text' 15 text.id = 'not_text'
16 svg = document.getElementById('svg') 16 svg = document.getElementById('svg')
17 svg.id = 'text' 17 svg.id = 'text'
18 svg.appendChild(document.getElementById('a').cloneNode()) 18 svg.appendChild(document.getElementById('a').cloneNode())
19 setTimeout(function() { 19 setTimeout(function() {
20 document.getElementById("result").innerText = "TEST PASSED" 20 document.getElementById("result").innerText = "TEST PASSED"
21 if (window.layoutTestController) 21 if (window.layoutTestController)
22 layoutTestController.notifyDone() 22 layoutTestController.notifyDone()
23 }, 0) 23 }, 0)
24 }, 0) 24 }, 0)
25 </script> 25 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/svglength-animation-retarget-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698