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

font-display audit resolves URLs relative to document instead of stylesheet #6781

Closed
patrickhulce opened this issue Dec 12, 2018 · 2 comments · Fixed by #6782
Closed

font-display audit resolves URLs relative to document instead of stylesheet #6781

patrickhulce opened this issue Dec 12, 2018 · 2 comments · Fixed by #6782
Assignees
Labels

Comments

@patrickhulce
Copy link
Collaborator

Provide the steps to reproduce

  1. Run LH on https://www.blue2blond.nl/sitemap.html

What is the current behavior?

Lighthouse reports that the woff2 files are missing font-display

What is the expected behavior?

Lighthouse reports that woff2 files have proper font-display

Related issues
#6628 (comment)

@blue2blond
Copy link

Thank you Patrick for submitting!

As I now know the the cause of this notification, I changed the CMS in such a way, url's are being made absolute during minifying -relative url's would reduce kilobytes and thus latency, so as soon as it is fixed, I revert the CMS edit ;) -.

As a result, issue can't be reproduced with above url. I made a static page which reproduces this issue:
https://www.blue2blond.nl/projects/pagespeed/lighthouse/relative-font.html

@patrickhulce
Copy link
Collaborator Author

Awesome thanks for the help @blue2blond!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants