Automatic update from web-platform-tests Remove redundant -crash from crash tests The following tests are already in a crashtest/ directory, so having them end in '-crash' is redundant. Rename them to remove '-crash' from the end of the test name. Change-Id: I9842d706ea484b40b123155eab58a8bd359fa893 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8023285 Commit-Queue: Sharon Yang <yangsharon@igalia.com> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/main@{#1655135} -- wpt-commits: 3582abdc1082de164b0661b87bf1a85f20317b9c wpt-pr: 61011
25 lines
555 B
HTML
25 lines
555 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS animation with null effect should not crash</title>
|
|
<link rel="help" href="https://crbug.com/41403431">
|
|
|
|
<style>
|
|
@keyframes anim {
|
|
from {
|
|
margin-left: 0px;
|
|
}
|
|
to {
|
|
margin-left: 100px;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<div id="box" style="width:100px; height: 100px; background: black; animation: anim 1s"></div>
|
|
|
|
<script>
|
|
const animation = box.getAnimations()[0];
|
|
animation.effect = null;
|
|
// Cause an update of the CSS animation by changing the duration.
|
|
box.style.animationDuration = "2s";
|
|
</script>
|