Bug 166757

Summary: macOS/OS X/iOS hyphenation API not returning all hyphenation points for CSS hyphens: auto
Product: WebKit Reporter: Thomas Bachem <mail>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test Case none

Description Thomas Bachem 2017-01-06 00:46:16 PST
Apple's hyphenation API seems to behave odd, leading to suboptimal hyphenation in Safari and Chrome on Mac/iOS, see previous discussion at https://bugs.chromium.org/p/chromium/issues/detail?id=677263.

Blink maintainer kojii states:

    OS X hyphenation API returns:
    "infrastructure" -> "in-frastructure"
    "frastructure" -> "fras-tructure"
    "tructure" -> "truc-ture"

Attached a specific test case. Results:

    Safari on Mac: "in-frastructure"
    Firefox on Mac: "infrastruc-ture" (own dictionary)
    Safari on Windows: "infrastruc-ture"
Comment 1 Thomas Bachem 2017-01-06 00:46:41 PST
Created attachment 298181 [details]
Test Case
Comment 2 Alexey Proskuryakov 2017-01-09 16:02:41 PST
Could you please file the bug via <https://bugreport.apple.com>? WebKit bugzilla is for WebKit bugs only, and while I can copy the bug for Apple, that would break the link to you as the reporter.
Comment 3 Thomas Bachem 2017-01-10 00:39:23 PST
Ok, reported it over at bugreport.apple.com, ID 29944454.