I'd like to apply a transparent gradient to a component. Actually it works.
But when I animate an element within this element, it makes chrome49 crash. It works in chrome57 on my MacBook but I need this to work in chrome49 on an embedded system.
Here is the gradient definition:
.zapband {
-webkit-mask-image: -webkit-linear-gradient(
left,
rgba(255, 255, 255, 0) 16%,
rgba(255, 255, 255, 1) 40%,
rgba(255, 255, 255, 1) 60%,
rgba(255, 255, 255, 0) 84%
);
}
And the animation that works without the gradient:
.focus-anime, .focus-anime1 {
animation: 200ms linear focusBlink;
animation-fill-mode: forwards;
animation-iteration-count: 1;
}
.focus-anime1 {
animation-name: focusBlink1;
}
@keyframes focusBlink {
from { opacity: 0.4; }
to { opacity: 1; }
}
@keyframes focusBlink1 {
from { opacity: 0.4; }
to { opacity: 1; }
}
Could it be that chrome49 can't handle both declarations? Or can this be a memory problem?