Bug 196353 - width values using 'ch' units are not computed correctly for monospace font
Summary: width values using 'ch' units are not computed correctly for monospace font
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-28 07:58 PDT by Javier Fernandez
Modified: 2023-04-30 08:46 PDT (History)
3 users (show)

See Also:


Attachments
Test case to reproduce the issue (183 bytes, text/html)
2019-03-28 07:58 PDT, Javier Fernandez
no flags Details
Test case to reproduce the issue (182 bytes, text/html)
2019-03-28 08:22 PDT, Javier Fernandez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.