'auto' keyword parsing support for font descriptors inside @font-face rule
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
People
(Reporter: moonira, Unassigned)
Details
Attachments
(1 file)
985.17 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Steps to reproduce:
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 @font-face rule should be supported, Firefox 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 Firefox 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 Firefox.
Actual results:
'auto' keyword does not parse in font descriptors inside @font-face rule; the attached file is showing "Font weight range:" in the browser.
Expected results:
'auto' keyword should be parsing, i.e. the attached html file should show "Font weight range: auto" in the Firefox and the corresponding WPT test should pass.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Description
•