I have this animation on an image contained in a parent that has a background color and overflow hidden. At rest, the image fills the container, so the background color is not visible.
gsap.timeline({ repeat: 1, yoyo: true })
.to(element, { scale: 1.1, duration })
This makes an image zoom a bit and return back to its original state. When it finishes, unfortunately the image has some tiny left and right borders that make the color of the parent visible.
The problem is that after the animation, some styles added by gsap are kept on the image element:
translate: none;
rotate: none;
scale: none;
transform: translate(0px, 0px);
This is the transform property that creates these parasite lines around my image. If I comment it in devtools, they go away.