Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/compositing/mix-blend-mode/mix-blend-mode-animation.html
<!DOCTYPE html> <html> <head> <title>CSS Test: Blended element with animation</title> <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com"> <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode"> <meta name="assert" content="Test checks that an element with mix-blend-mode and animation blends with the parent element."> <meta name="fuzzy" content="0-2;0-11000"> <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com"> <link rel="reviewer" title="Mirela Budaes" href="mailto:mbudaes@adobe.com"> <link rel="match" href="reference/mix-blend-mode-animation-ref.html"> <style type="text/css"> div { width: 100px; height: 100px; background: #FF0; } @keyframes changeOpacity { from { opacity: 0.9; } 50% { opacity: 0.9; } to { opacity: 0.1; } } #blender { background: #F00; mix-blend-mode: difference; animation: changeOpacity 10s; } </style> </head> <body> <p>Test passes if you can see a fading green box after 5 seconds.</p> <div><div id="blender"></div></div> </body> </html>
/css/compositing/mix-blend-mode/reference/mix-blend-mode-animation-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Test: Blended element with animation</title> <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com"> <style type="text/css"> div { width: 100px; height: 100px; background: #FF0; } @keyframes changeOpacity { from { opacity: 0.9; } 50% { opacity: 0.9; } to { opacity: 0.1; } } #blender { background: #0F0; animation: changeOpacity 10s; } </style> </head> <body> <p>Test passes if you can see a fading green box after 5 seconds.</p> <div><div id="blender"></div></div> </body> </html>