takeSnapshots() depends on the snapshot ImageBuffer::resolutionScale() to set the size of the TextIndicatorData image. r293825 scaled the size of the ImageBuffer before creation and moved the scaling to the GraphicsContext. So we have correct scaled pixels but the resolutionScale is 1. So we get enlarged incorrect image.
Created attachment 458994 [details]
Created attachment 459020 [details]
Committed r293968 (250406@main): <https://commits.webkit.org/250406@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 459020 [details].