<!doctype html><htmlclass="reftest-wait"><head><metacharset=utf-8><title>The effect value of consecutive animations targeting 'opacity'</title><linkrel="help"href="https://drafts.csswg.org/web-animations/"><linkrel="match"href="effect-value-opacity-replaced-effect-ref.html"><style>div{width:100px;height:100px;background:green;will-change:opacity;}</style></head><body><div></div><script>'use strict';(asyncfunction(){constdiv=document.querySelector('div');awaitdiv.animate({opacity:[1,0]},{duration:10,fill:'both'}).finished;awaitdiv.animate({opacity:[0,1]},{duration:10,fill:'both'}).finished;document.documentElement.classList.remove("reftest-wait");})();</script></body></html>