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: NEW ---    
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

Description Javier Fernandez 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.
Comment 1 Javier Fernandez 2019-03-22 17:16:26 PDT
Created attachment 365783 [details]
Expected result
Comment 2 Javier Fernandez 2019-03-22 17:16:44 PDT
Created attachment 365784 [details]
Actual result
Comment 3 Radar WebKit Bug Importer 2019-03-25 10:20:54 PDT
<rdar://problem/49219794>
Comment 4 Javier Fernandez 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.