Not long ago, had an old motorcycle transported to my house, a fixer upper. Tank was rattle can painted. During movement by a friend, a tie down came loose and the bike slipped to its side. Gasoline spilled from the cap down the side, softened and bubbled the paint. Instead of using automotive grade paint, previous owner probably used the lowest grade, cheap stuff.
Not all rattle cans are fuel proof.