<!DOCTYPE html>
<style>
.box {
animation: inset-anim 2s linear
}
@keyframes inset-anim {
from { clip-path: inset(0); }
to { clip-path: inset(20%);</style>
</style>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onload = function() {
runAfterLayoutAndPaint(function() {
if (window.testRunner)
testRunner.notifyDone();
});
};
</script>
<div class="box"></div>
This test passes if it doesn't crash.