| <!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-element-not-visible-at-current-viewport-ref.html"> |
| <style> |
| .box { |
| width: 100px; |
| height: 10000px; |
| } |
| .container { |
| width: 50px; |
| height: 50px; |
| animation: bgcolor 1000000s cubic-bezier(0,1,1,0) -500000s; |
| } |
| @keyframes bgcolor { |
| 0% { background-color: rgb(0, 200, 0); } |
| 100% { background-color: rgb(200, 0, 0); } |
| } |
| </style> |
| <script src="/common/reftest-wait.js"></script> |
| <body> |
| <div class="box"></div> |
| <div class="container"></div> |
| |
| <script> |
| takeScreenshot(); |
| </script> |
| </body> |
| </html> |