| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <!-- | 4 <!-- |
| 5 Test for WK89846: Animations should be rewindable even with existing fil
l=freeze animations. | 5 Test for WK89846: Animations should be rewindable even with existing fil
l=freeze animations. |
| 6 If this test passes, only the word "PASS" will be visible. | 6 If this test passes, only the word "PASS" will be visible. |
| 7 --> | 7 --> |
| 8 <script src="../../fast/js/resources/js-test-pre.js"></script> | 8 <script src="../../resources/js-test.js"></script> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| 11 <svg id="svg" width="500" height="500"> | 11 <svg id="svg" width="500" height="500"> |
| 12 <rect x="0" y="0" width="100" height="100" fill="red"/> | 12 <rect x="0" y="0" width="100" height="100" fill="red"/> |
| 13 <rect id="rect" x="0" y="0" width="100" height="100" fill="blue"> | 13 <rect id="rect" x="0" y="0" width="100" height="100" fill="blue"> |
| 14 <set attributeName="x" to="100" begin="4s" fill="freeze"></set> | 14 <set attributeName="x" to="100" begin="4s" fill="freeze"></set> |
| 15 <set attributeName="x" to="200" begin="1s" dur="1s" fill="freeze
"> | 15 <set attributeName="x" to="200" begin="1s" dur="1s" fill="freeze
"> |
| 16 </rect> | 16 </rect> |
| 17 </svg> | 17 </svg> |
| 18 <script> | 18 <script> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 32 document.body.innerHTML = "FAIL: rect.x.animVal.value was "
+ rect.x.animVal.value + ", expected 0"; | 32 document.body.innerHTML = "FAIL: rect.x.animVal.value was "
+ rect.x.animVal.value + ", expected 0"; |
| 33 else | 33 else |
| 34 document.body.innerHTML = "PASS"; | 34 document.body.innerHTML = "PASS"; |
| 35 | 35 |
| 36 if (window.testRunner) | 36 if (window.testRunner) |
| 37 testRunner.notifyDone(); | 37 testRunner.notifyDone(); |
| 38 }, 1); | 38 }, 1); |
| 39 </script> | 39 </script> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| OLD | NEW |