Bug 249536

Summary: Web Inspector: Add support for font variation instances in Fonts sidebar panel
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: ASSIGNED ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 251990, 251991    
Attachments:
Description Flags
Video recording of demo with patch applied
none
Screenshot of Fonts panel with patch applied none

Description Razvan Caliman 2022-12-17 09:24:57 PST
Variable font files may define presets for variation axes, also known as “instances”.

Web Inspector should expose these instances so that web developers can quickly apply their corresponding values for variation axes to their designs.

Font variation instances do not themselves map to any CSS property. They’re just collections of values for variation axes to be used on CSS `font-variation-settings` or to specific `font-*` properties.

<rdar://103118390>
Comment 1 Razvan Caliman 2022-12-17 09:57:19 PST
rdar://103118390
Comment 2 Razvan Caliman 2023-01-18 12:22:28 PST
Pull request: https://github.com/WebKit/WebKit/pull/8784
Comment 3 Razvan Caliman 2023-01-18 12:23:26 PST
Created attachment 464542 [details]
Video recording of demo with patch applied
Comment 4 Razvan Caliman 2023-01-18 12:23:50 PST
Created attachment 464544 [details]
Screenshot of Fonts panel with patch applied