Bug 196353

Summary: width values using 'ch' units are not computed correctly for monospace font
Product: WebKit Reporter: Javier Fernandez <jfernandez>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: mmaxfield, simon.fraser, zalan
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=196169
Attachments:
Description Flags
Test case to reproduce the issue
none
Test case to reproduce the issue none

Javier Fernandez
Reported 2019-03-28 07:58:34 PDT
Created attachment 366175 [details] Test case to reproduce the issue Steps to reproduce the problem: 1- Load the attached test case ACTUAL RESULT The text is broken in two lines, using the white-space in between, even though there should be enough space for the whole text. EXPECTED RESULT The whole text fits in 1 line. Both Chrome and Firefox render the attached case as described in the expected result.
Attachments
Test case to reproduce the issue (183 bytes, text/html)
2019-03-28 07:58 PDT, Javier Fernandez
no flags
Test case to reproduce the issue (182 bytes, text/html)
2019-03-28 08:22 PDT, Javier Fernandez
no flags
Javier Fernandez
Comment 1 2019-03-28 08:22:43 PDT
Created attachment 366176 [details] Test case to reproduce the issue
zalan
Comment 2 2023-04-30 08:46:23 PDT
looks fine on trunk.
Note You need to log in before you can comment on or make changes to this bug.