-
Notifications
You must be signed in to change notification settings - Fork 113
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 mimetypes are outdated #164
Comments
Font mimetypes should be updated to reflect this change. Current workaround is to subclass font types, use |
It is not actually possible to subclass because #165 |
Workaround for the workaround:
|
Another option is to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RFC8081 (2017) deprecated e.g.
application/font-sfnt
in favor offont/sfnt
.From the RFC:
Deprecated Alias: The existing registration "application/font-sfnt" is deprecated in favor of "font/sfnt".
Some browsers (i.e. Chrome) issue console warnings and refuse to apply the referenced stylesheet
<link rel="stylesheet" href="my.url">
Refused to apply style from 'my.url' because its MIME type ('application/font-sfnt') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
The text was updated successfully, but these errors were encountered: