Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/animations/background-color-animation-single-keyframe.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="background-color-animation-single-keyframe-ref.html">
<style>
.container {
width: 100px;
height: 100px;
background-color: rgb(200, 0, 0);
}
</style>
<script src="/common/reftest-wait.js"></script>
<body>
<div class="container" id="target"></div>
<script>
document.getElementById("target").animate({backgroundColor: 'rgb(0, 200, 0)'}, 100000000000);
takeScreenshot();
</script>
</body>
</html>