Bug 246742 - 'auto' keyword parsing support for font descriptors inside @font-face rule
Summary: 'auto' keyword parsing support for font descriptors inside @font-face rule
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-19 05:16 PDT by Munira
Modified: 2022-10-26 05:17 PDT (History)
3 users (show)

See Also:


Attachments
'auto' keyword parsing in font descriptors inside @font-face rule (985.17 KB, application/zip)
2022-10-19 05:16 PDT, Munira
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Munira 2022-10-19 05:16:36 PDT
Created attachment 463083 [details]
'auto' keyword parsing in font descriptors inside @font-face rule

According to spec https://www.w3.org/TR/css-fonts-4/#font-prop-desc the 'auto' keyword for 'font-weight', 'font-style' and 'font-stretch' descriptors inside @fotn-face rule should be supported, Safari however does not support parsing of 'auto' keyword. 

So in the attached html file, the expected result is that you should see "Font weight range: auto" in the browser, however in Safari it is "Font weight range:".

Corresponding WPT tests *'auto' keyword inside @font-face: auto* in https://wpt.fyi/results/css/css-fonts/variations/at-font-face-descriptors.html?label=experimental&label=master&aligned are also not passing in Safari.
Comment 1 Radar WebKit Bug Importer 2022-10-26 05:17:17 PDT
<rdar://problem/101585035>