Bug 250906 - Web Inspector: Fonts Panel: ITAL variation axis slider has value of NaN
Summary: Web Inspector: Fonts Panel: ITAL variation axis slider has value of NaN
Status: RESOLVED FIXED
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: 249535
Blocks:
  Show dependency treegraph
 
Reported: 2023-01-20 10:22 PST by Razvan Caliman
Modified: 2023-02-20 04:01 PST (History)
3 users (show)

See Also:


Attachments
Screenshot of issue (41.49 KB, image/png)
2023-01-20 10:22 PST, Razvan Caliman
no flags Details
https://developer.apple.com/SlothCreatorBuildingDocCDocumentationInXcode.zip/bundleresources/information_property_list/uirequiresfullscreen (141 bytes, text/plain)
2023-02-18 18:15 PST, Marvin Victor
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Razvan Caliman 2023-01-20 10:22:37 PST
Created attachment 464581 [details]
Screenshot of issue

# Steps to reproduce:

- Go to https://v-fonts.com/fonts/west-var
- Inspect the sample text
- Open the Fonts sider bar panel in Web Inspector

# Expected result:
The "Italic" slider has a range from 0 to 1 with a default value of 0.

# Actual result:
The slider has a value of NaN.

# Cause
The value of font-style maps to ITAL or SLNT variation axes when available. But "font-style: normal" isn't handled for the ITAL axis.
Comment 1 Radar WebKit Bug Importer 2023-01-20 10:23:21 PST
<rdar://problem/104481453>
Comment 2 Razvan Caliman 2023-01-20 10:27:45 PST
Pull request: https://github.com/WebKit/WebKit/pull/8884
Comment 3 EWS 2023-01-25 07:02:58 PST
Committed 259351@main (c58b326609c9): <https://commits.webkit.org/259351@main>

Reviewed commits have been landed. Closing PR #8884 and removing active labels.