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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions css/at-rules/font-feature-values.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,42 @@
}
}
},
"font-display": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-featur-values/font-display",
estelle marked this conversation as resolved.
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.

},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "58"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "11.1"
},
"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"?

},
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"historical-forms": {
"__compat": {
"description": "<code>@historical-forms</code>",
Expand Down
Loading