Bug 229361

Summary: font-feature-settings inline boundaries break contextual shaping
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1726891
Bug Depends on: 6148    
Bug Blocks:    
Attachments:
Description Flags
Test
none
Screenshot none

Description Myles C. Maxfield 2021-08-20 20:57:44 PDT
Created attachment 436060 [details]
Test

If there is an inline element boundary between two elements which use the same font, but differ only in their font-feature-settings, the contextual shaping across the inline element boundary will be broken. It isn't broken in Chrome.

See attached HTML file. Unfortunately, I don't think I have the rights to post the specific font used in this example, but any font which has both contextual shaping and font features should display the bug.
Comment 1 Myles C. Maxfield 2021-08-20 20:58:12 PDT
Created attachment 436061 [details]
Screenshot
Comment 2 Myles C. Maxfield 2021-08-20 20:58:32 PDT
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1726891
Comment 3 Radar WebKit Bug Importer 2021-08-27 20:58:23 PDT
<rdar://problem/82466332>