blob: 1d5e5d6286365907dd31a6fd6bc4f6fd529d3c23 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
function crash() {
var animate = document.getElementById('animate');
var svg = document.getElementById('svg');
animate.endElementAt(NaN);
animate.beginElementAt(NaN);
svg.setCurrentTime(2);
if (window.testRunner)
testRunner.dumpAsText();
}
</script>
</head>
<body onload="crash()">
Test for WK100322: ElementTimeControl should check for invalid values. This test passes if it does not crash.
<svg id="svg" width="200" height="200">
<rect x="0" y="0" width="100" height="100" fill="green">
<animate id="animate" attributeName="x" to="200" begin="3s"/>
</rect>
</svg>
</body>
</html>