-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Update font-display example to use correct format #28578
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
Conversation
|
link mdn/content#40890 |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
I propose to also bring the path to files to a unified form: I couldn't do it completely with suggestions, but I wanted to show the train of thought using the Russian locale as an example. |
yin1999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update the format
| url(/path/to/fonts/examplefont.woff) format("woff"), | ||
| url(/path/to/fonts/examplefont.eot) format("embedded-opentype"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| url(/path/to/fonts/examplefont.woff) format("woff"), | |
| url(/path/to/fonts/examplefont.eot) format("embedded-opentype"); | |
| url("/path/to/fonts/example-font.woff") format("woff"), | |
| url("/path/to/fonts/example-font.eot") format("embedded-opentype"); |
|
mdn/content#40890 has been merged, I will synchronize its changes. @font-face {
font-family: ExampleFont;
src:
url("/path/to/fonts/example-font.woff") format("woff"),
url("/path/to/fonts/example-font.eot") format("embedded-opentype");
font-weight: 400;
font-style: normal;
font-display: fallback;
} |
|
Approve for |
Preview URLs (6 pages)Flaws (12)Note! 1 document with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
URL:
URL:
|
mfuji09
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for ja.
yin1999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for l10n-zh
tristantheb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for fr 👍🏻
JuanVqz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved for ES docs, cc @Graywolf9
yin1999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this
Description
Update font-display example to use correct format
Motivation
format("eot") ×
format("embedded-opentype") √
Additional details
Related issues and pull requests
Fixes #28577