Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-backgrounds/animations/background-color-animation-fallback-additive-keyframe.html
<!DOCTYPE html> <html class="reftest-wait"> <link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#background-color"> <link rel="match" href="background-color-animation-fallback-additive-keyframe-ref.html"> <style> .container { width: 100px; height: 100px; background-color: rgb(0, 200, 0); } </style> <script src="/common/reftest-wait.js"></script> <body> <div class="container" id="target"></div> <script> var target = document.getElementById("target"); target.animate([ { backgroundColor: 'rgb(200, 0, 0)', composite: 'accumulate', easing: 'steps(2, end)' }, { backgroundColor: 'rgb(0, 0, 0' } ], { duration: 1000000 }); requestAnimationFrame(() => { takeScreenshot(); }); </script> </body> </html>
/css/css-backgrounds/animations/background-color-animation-fallback-additive-keyframe-ref.html
<!DOCTYPE html> <style> .container { width: 100px; height: 100px; background-color: rgb(200, 200, 0); } </style> <body> <div class="container"></div> </body>