The actual image adds an extra line at the bottom. https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r276889%20(1519)/fast/inline/incorrect-middle-baseline-alignment-with-line-height-diffs.html
This was fixed by r277325.
Created attachment 435622 [details] Patch
Committed r281098 (240557@main): <https://commits.webkit.org/240557@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435622 [details].
<rdar://problem/81992766>