Bug 249536 - Web Inspector: Add support for font variation instances in Fonts sidebar panel
Summary: Web Inspector: Add support for font variation instances in Fonts sidebar panel
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Razvan Caliman
URL:
Keywords: InRadar
Depends on:
Blocks: 251990 251991
  Show dependency treegraph
 
Reported: 2022-12-17 09:24 PST by Razvan Caliman
Modified: 2023-02-09 07:27 PST (History)
2 users (show)

See Also:


Attachments
Video recording of demo with patch applied (3.56 MB, video/quicktime)
2023-01-18 12:23 PST, Razvan Caliman
no flags Details
Screenshot of Fonts panel with patch applied (183.53 KB, image/png)
2023-01-18 12:23 PST, Razvan Caliman
no flags Details

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