Yes — this is a known (and frustrating) rendering quirk on iOS Safari where <canvas> elements are treated as inline elements by default, causing a small baseline gap (similar to the one under images or inline SVGs).
Even though display: block; should fix it, iOS Safari sometimes still reserves space for the text baseline due to internal layout quirks. Here are several reliable ways to eliminate that gap — pick whichever works best for your layout: