Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / svglength-animation-retarget-crash.html
blobbc29ebdbb19bf4fa94d7ef630d1a8342399cda16
1 <p>This test verifies that SVG animation targets can change during the animation.</p>
2 <p id="result"></p>
3 <svg id="svg">
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">
6 </svg>
7 <script>
8 if (window.testRunner) {
9 testRunner.dumpAsText()
10 testRunner.waitUntilDone()
13 setTimeout(function() {
14 text = document.getElementById('text')
15 text.id = 'not_text'
16 svg = document.getElementById('svg')
17 svg.id = 'text'
18 svg.appendChild(document.getElementById('a').cloneNode())
19 setTimeout(function() {
20 document.getElementById("result").innerText = "TEST PASSED"
21 if (window.testRunner)
22 testRunner.notifyDone()
23 }, 0)
24 }, 0)
25 </script>