Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-easing/linear-timing-functions-duplicate-points-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="test-wait">
<title>CSS Easing: linear() duplicate points crash</title>
<style>
div {
width: 100px;
height: 100px;
background: red;
animation: anim 1s both;
}
@keyframes anim {
0% { clip-path: inset(0%); }
50% { clip-path: inset(10%); animation-timing-function: linear(0 0%, 1 100%, 0 100%); }
50% { clip-path: inset(20%); }
100% { clip-path: inset(30%); }
}
</style>
<div></div>
<script>
document.querySelector('div').getAnimations()[0].ready.then(() => {
document.documentElement.classList.remove('test-wait');
});
</script>
</html>