Bug 246742

Summary: 'auto' keyword parsing support for font descriptors inside @font-face rule
Product: WebKit Reporter: Munira <moonira>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: mmaxfield, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
'auto' keyword parsing in font descriptors inside @font-face rule none

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>