Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS: add font-display descriptor #20514

Closed
wants to merge 2 commits into from
Closed

CSS: add font-display descriptor #20514

wants to merge 2 commits into from

Conversation

estelle
Copy link
Member

@estelle estelle commented Aug 9, 2023

Part of openwebdocs/project#176
Creating a page at https://developer.mozilla.org/en-US/docs/Web/CSS/@font-feature-values/font-display (no pr yet)
https://drafts.csswg.org/css-fonts/#font-display-font-feature-values

The display-font descriptor is the same for @font-feature-values as for @font-face.

@github-actions github-actions bot added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Aug 9, 2023
css/at-rules/font-feature-values.json Outdated Show resolved Hide resolved
"spec_url": "https://drafts.csswg.org/css-fonts/#font-display-font-feature-values",
"support": {
"chrome": {
"version_added": "60"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI fails because Chrome 60 can't be correct if the parent feature is not supported. (font-display can't exist without @font-feature-values).

So either change this to false or update @font-feature-values to say it is supported in Chrome.

},
"safari_ios": "mirror",
"samsunginternet_android": {
"version_added": "11.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not "mirror"?

Co-authored-by: Florian Scholz <fs@florianscholz.com>
@estelle estelle closed this Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants