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

Description Javier Fernandez 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.
Comment 1 Javier Fernandez 2019-03-28 08:22:43 PDT
Created attachment 366176 [details]
Test case to reproduce the issue
Comment 2 zalan 2023-04-30 08:46:23 PDT
looks fine on trunk.