| <!DOCTYPE HTML> |
| <html> |
| <head> |
| <script> |
| function runTest() { |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| // Wait for the animation to run 1 frame, then stop. |
| setTimeout(function() { |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }, 0); |
| } |
| </script> |
| </head> |
| <body onload="runTest()"> |
| Test for crbug.com/279445: SVG image href should be animatable.<br/> |
| This test passes if there is a green square below.<br/> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100"> |
| <image x="0" y="0" width="100" height="100" xlink:href=""> |
| <set attributeName="xlink:href" to="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAwJyBoZWlnaHQ9JzEwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cmVjdCBmaWxsPSdncmVlbicgd2lkdGg9JzEwMCcgaGVpZ2h0PScxMDAnPjwvcmVjdD48L3N2Zz4=" begin="0s" /> |
| </image> |
| </svg> |
| </body> |
| </html> |