| border-left-width: 200px; |
| border-right-width: 200px; |
| animation: foo 200ms forwards; |
| border-left-color: orange; |
| border-right-color: green; |
| border-right-color: green; |
| border-left-color: orange; |
| testRunner.waitUntilDone(); |
| window.addEventListener("load", function () { |
| const animations = document.querySelector(".box").getAnimations(); |
| for (let animation of animations) { |
| if (animation instanceof CSSAnimation && animation.animationName == "foo") { |
| animation.currentTime = 100; |
| <p>Left side should go orange -> red -> orange, right side should stay green at the end.</p> |