Skip to content

[css-fonts-3] http/https error in cross-origin example in 4.7 #4098

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

Closed
bert-github opened this issue Jul 10, 2019 · 4 comments
Closed

[css-fonts-3] http/https error in cross-origin example in 4.7 #4098

bert-github opened this issue Jul 10, 2019 · 4 comments
Assignees
Labels

Comments

@bert-github
Copy link
Contributor

The example of the effect of CORS in section 4.9 ‘Font fetching requirements’ says that the font specified with src: url(https://example.com/fonts/simple.woff) fails to load, due to having a different scheme than the document. However, the scheme, ‘https’, is actually the same.

Probably the example was meant to have ‘http’ instead of ‘https’: src: url(http://example.com/fonts/simple.woff)

@nicktrav
Copy link

Came here to report the exact same thing!

@svgeesus svgeesus self-assigned this Aug 14, 2019
cadonau added a commit to cadonau/csswg-drafts that referenced this issue Jul 30, 2020
@cadonau
Copy link

cadonau commented Jul 30, 2020

Hello everyone,
I noticed the same thing regarding the scheme.
I didn't think a reference of the commit to my fork (542ad1d) would already appear, here.
Would it be okay to open a pull request?

@svgeesus svgeesus added the css-fonts-4 Current Work label Jul 31, 2020
@svgeesus
Copy link
Contributor

Also added to Fonts 3 errata

@cadonau
Copy link

cadonau commented Jul 31, 2020

@svgeesus Thank you for fixing it properly!

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

No branches or pull requests

4 participants