Bug 166757 - macOS/OS X/iOS hyphenation API not returning all hyphenation points for CSS hyphens: auto
Summary: macOS/OS X/iOS hyphenation API not returning all hyphenation points for CSS h...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-01-06 00:46 PST by Thomas Bachem
Modified: 2017-01-10 14:13 PST (History)
1 user (show)

See Also:


Attachments
Test Case (527 bytes, text/html)
2017-01-06 00:46 PST, Thomas Bachem
no flags Details

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