-
Notifications
You must be signed in to change notification settings - Fork 119
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
Import fonts don't work in preview iframes in FF #91
Comments
Thanks for letting us know about this. Did you do any experiments around loading fonts in iframes? |
Most of my initial testing was around FF since chrome had no issues. I did not test IE. In Firefox I tried setting the security.fileuri.strict_origin_policy to false as suggested in some threads, did not fix the issue. I'll be doing some more testing but my hunch is that FF is blocking the request because of a same origin mismatch with the data:text/html protocol |
I'm hitting the same issue. |
Can you upload a gist that reproduces the issue? Are you using file:// or http:// to serve the docs? |
Seems like a security issue, probably the mismatch in the data:/ protocol with http:// causes FF and other browsers to not load import fonts. IME so far only chrome seems to support the loading of fonts via iframes using the data:// protocol.
The text was updated successfully, but these errors were encountered: