Bug 165092

Summary: Soft hyphens break kerning
Product: WebKit Reporter: Rusty Key <iam>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, mmaxfield, rniwa, zalan
Priority: P2    
Version: Safari 10   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Shy breaks kerning in Safari 10 none

Description Rusty Key 2016-11-28 10:09:13 PST
Created attachment 295492 [details]
Shy breaks kerning in Safari 10

Soft Hyphens (&shy; symbol) breaks font's kerning.

Here's an example: http://codepen.io/stfoo/pen/eBGzwW

There is letters pair "AV" that supposed to be kerned. Red ones show text without soft hyphens. First two has kerning switched on, last two — switched off.
Cyan pairs show text with soft hyphens. Kerning for cyan text is always on;

In Safari 10 i see this picture: http://d.pr/i/EPvt. It shows that text with hyphens is equal to text without kerning.
In other browsers (Chrome 54, Firefox 48) it works as intended: http://d.pr/i/t0Us. Soft hyphens are ignored.

Is it a bug?
Comment 1 Rusty Key 2017-05-30 03:31:35 PDT
Safari 10.2, still bad kerning.
In Firefox and Chrome kerning in this situations works as anticipated: like there is no soft hyphen at all).
Comment 2 Ahmad Saleem 2022-06-14 16:49:51 PDT
I am unable to reproduce this bug in Safari 15.5 on macOS 12.4. The Codeine in Comment 01 shows same output as referenced for Firefox and Chrome.

I think something fixed this along the line. Can this be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
Comment 3 Ryosuke Niwa 2022-06-14 16:51:47 PDT
Nice