Bug 196169

Summary: Word incorrectly broken, honoring 'overflow-wrap: break-word', when the word's width (monospace) is exactly the available width
Product: WebKit Reporter: Javier Fernandez <jfernandez>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: jfernandez, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: FromImplementor, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=196353
https://bugs.webkit.org/show_bug.cgi?id=198543
Attachments:
Description Flags
Test case to reproduce the issue
none
Expected result
none
Actual result none

Javier Fernandez
Reported 2019-03-22 17:09:46 PDT
Created attachment 365782 [details] Test case to reproduce the issue Steps to reproduce the problem: 1- Load the attached test case ACTUAL RESULT The word is broken in the last character "D" (actual-result.png) EXPECTED RESULT The word should not be broken (expected-result.png) since available width (4ch) is the same as the word' width Both Chrome and Firefox render the attached case as described in the expected result.
Attachments
Test case to reproduce the issue (220 bytes, text/html)
2019-03-22 17:09 PDT, Javier Fernandez
no flags
Expected result (5.17 KB, image/png)
2019-03-22 17:16 PDT, Javier Fernandez
no flags
Actual result (8.15 KB, image/png)
2019-03-22 17:16 PDT, Javier Fernandez
no flags
Javier Fernandez
Comment 1 2019-03-22 17:16:26 PDT
Created attachment 365783 [details] Expected result
Javier Fernandez
Comment 2 2019-03-22 17:16:44 PDT
Created attachment 365784 [details] Actual result
Radar WebKit Bug Importer
Comment 3 2019-03-25 10:20:54 PDT
Javier Fernandez
Comment 4 2019-03-28 08:56:37 PDT
The root cause of this issue might be bug #196353 so I's indeed a good idea to follow what's going on there.
alan baradlay
Comment 5 2023-04-30 08:50:53 PDT
looks fine on trunk.
Note You need to log in before you can comment on or make changes to this bug.