24 lines
640 B
HTML
24 lines
640 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
Test for WK108828: This test passes if it does not crash.
|
|
<svg id="svg" xmlns="http://www.w3.org/2000/svg" width="500" height="500">
|
|
<!-- animateMotion with invalid keyTimes. -->
|
|
<rect x="0" y="0" width="100" height="100" fill="green">
|
|
<animateMotion keyTimes="0; 0.5; 0.5; 0.5; 1" values="M 0 0 Z; M 0 0 Z"/>
|
|
</rect>
|
|
</svg>
|
|
<script>
|
|
if (window.testRunner())
|
|
testRunner.waitUntilDone();
|
|
|
|
setTimeout(function() {
|
|
var svg = document.getElementById('svg');
|
|
svg.pauseAnimations();
|
|
svg.setCurrentTime(10);
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}, 1);
|
|
</script>
|
|
</html>
|
|
|