blob: 357fe96dc353e23050bd155c5a9395f5fc50e267 [file] [edit]
<!DOCTYPE HTML>
<html>
<head>
<script>
function runTest() {
if (window.testRunner)
testRunner.waitUntilDone();
// Wait for the animation to apply and a frame to be painted, then stop.
requestAnimationFrame(function() {
requestAnimationFrame(function() {
if (window.testRunner)
testRunner.notifyDone();
});
});
}
</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>