Bug 25818 - Regression: WebKit misrenders line-height for Thai letters
Summary: Regression: WebKit misrenders line-height for Thai letters
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2009-05-15 03:34 PDT by Kridsada Thanabulpong
Modified: 2022-07-22 14:44 PDT (History)
6 users (show)

See Also:


Attachments
The error. (94.89 KB, image/png)
2009-05-15 03:36 PDT, Kridsada Thanabulpong
no flags Details
Testcase. (2.03 KB, text/html)
2009-05-15 03:39 PDT, Kridsada Thanabulpong
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kridsada Thanabulpong 2009-05-15 03:34:11 PDT
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)
Comment 1 Kridsada Thanabulpong 2009-05-15 03:36:25 PDT
Created attachment 30380 [details]
The error.
Comment 2 Kridsada Thanabulpong 2009-05-15 03:39:08 PDT
Created attachment 30381 [details]
Testcase.
Comment 3 Mark Rowe (bdash) 2009-05-15 06:17:47 PDT
<rdar://problem/6891494>
Comment 4 mitz 2009-05-17 00:51:01 PDT
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.
Comment 5 Ahmad Saleem 2022-07-22 11:17:31 PDT
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!