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

about web font Resource validation #7805

Closed
techhtml opened this issue Feb 26, 2017 · 1 comment
Closed

about web font Resource validation #7805

techhtml opened this issue Feb 26, 2017 · 1 comment

Comments

@techhtml
Copy link
Contributor

web font resource validation

Now on days we can use //fonts.googleapis.com/earlyaccess/notosanskr.css link,
but AMP validation only allow https://fonts.googleapis.com/earlyaccess/notosanskr.css

If does not have any other reason, i think will can use //fonts.googleapis.com/earlyaccess/notosanskr.css.
Please take a look.

@aghassemi
Copy link
Contributor

@techhtml AMP only loads external fonts from secure origins. Even if we supported scheme-relative, we would have still rewritten it to point to https version of the resource. For now, instead of rewriting, we require the urls to be https to be more explicit.

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

No branches or pull requests

2 participants