2d.fillStyle.parse.invalid.no-context.em-2

Colors depending on a style context are invalid in OffscreenCanvas