r43758 build of WebKit did not properly render Thai letters to baseline grid. It used to work fine until the very recent WebKit builds and in Safari 4 Public Beta. (See attachment)
Created attachment 30380 [details] The error.
Created attachment 30381 [details] Testcase.
<rdar://problem/6891494>
The primary font (Helvetica 13px) has a 12px ascent and a 3px descent; the fallback font (Thonburi 13px) has a 14px descent and a 3px descent. For 18px line-spacing, Helvetica gets an extra pixel above and two extra pixels below, and Thonburi gets one pixel below. Combined, that's 14px above the baseline and 5px below the baseline for a total height of 19px.
I am unable to reproduce this bug of line height on attached test case in reference to attached screenshot of "Webkit" rendering. Safari 15.6 on macOS 12.5 matches with other browsers (Chrome Canary 105 and Firefox Nightly 104) on attached test case. If I am testing incorrectly, please ignore my comment. Thanks!