FLUID-6499: added font display swap for font faces#991
FLUID-6499: added font display swap for font faces#991TeddTech wants to merge 4 commits intofluid-project:mainfrom
Conversation
|
Could one of the admins verify that these changes are reasonable to test? If so, please reply with "ok to test". |
|
ok to test |
|
@TeddTech, thanks for the pull request. All commit messages into the infusion repository also need to be prefixed with the jira number in the format such as "FLUID-6499: add ...", like what you've done for the pull request title. Please change commit messages too. Thanks. |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/403/ |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/404/ |
will do |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/405/ |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/406/ |
|
@TeddTech, there's something terribly wrong with the commits in your PR. The commit |
I did a rebase removing the duplicate commits and only keeping my own |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/407/ |
src/components/orator/css/Orator.css
Outdated
| font-family:'Orator-Icons'; | ||
| src:url("../fonts/Orator-Icons.woff") | ||
| src:url("../fonts/Orator-Icons.woff"); | ||
| font-display: swap |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/408/ |
|
@TeddTech could you please update your last commit message to be in the correct format, similar to your previous commits. |
|
@TeddTech also, it's best practice to file a PR from a working branch, rather than using your master branch. For example if you needed to file another PR against the repository, you may accidentally include changes from this PR because it's from your master, and it's harder to keep things clean in general. |
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/409/ |
Thanks for the info @jobara. Will do from now on |
|
The purpose of this PR is to improve performance of websites that integrate infusion. At todays We Count check-in it was decided that leaving The value for |
Just to add a couple of clarifications about outcomes from today's WeCount check in:
|
|
CI job passed: https://ci.fluidproject.org/job/infusion-pull-request/416/ |
Description
Leverages the font-display CSS feature to ensure text is user-visible while webfonts are loading.
Steps to test
Expected behavior:
Ensure text remains visible during webfont load should no longer come up under Diagnostics because it has already been applied.
Additional information
N/A
Related issues
https://issues.fluidproject.org/browse/FLUID-6499