<!DOCTYPE html>
<html>
<!-- Fuzzy diff needed due to differences between NVIDIA and Intel GPUs. -->
<meta name=fuzzy content="0-2;0-10000">
<style>
.fade {
animation: fader linear 0.5s
}
@keyframes fader {
0% { opacity: 1.0 }
50% { opacity: 0.0 }
}
</style>
<!-- The blue sector of the image should be at 12 o'clock. -->
<img onload="fade(this)" width="400px" src="resources/red-at-12-oclock-with-color-profile.jpg">
<script>
function fade(element) {
element.addEventListener('animationend', end, false);
element.classList.toggle('fade');
}
function end(event) {
if (window.testRunner)
setTimeout(function() { testRunner.notifyDone() }, 0);
}
if (window.testRunner)
testRunner.waitUntilDone();
</script>
</html>